mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
T: fix test error
This commit is contained in:
parent
46459b445a
commit
b0d246c23b
@ -42,7 +42,7 @@ func ScheduleTask(task Task) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func runScheduler(eventObj js.Value, runtimeCtxObj js.Value) error {
|
func runScheduler(eventObj js.Value, runtimeCtxObj js.Value) error {
|
||||||
ctx := cfcontext.New(context.Background(), runtimeCtxObj, nil)
|
ctx := cfcontext.New(context.Background(), runtimeCtxObj, js.Value{})
|
||||||
event, err := toEvent(eventObj)
|
event, err := toEvent(eventObj)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
x
Reference in New Issue
Block a user