T: fix test error

This commit is contained in:
aki-0421 2024-01-17 17:55:58 +09:00
parent 46459b445a
commit b0d246c23b
No known key found for this signature in database
GPG Key ID: 64A8CF6D437D166A

View File

@ -42,7 +42,7 @@ func ScheduleTask(task Task) {
}
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)
if err != nil {
return err