mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
fix test
This commit is contained in:
parent
ca4bfba6cc
commit
c19126a1ce
@ -26,7 +26,7 @@ func newContext(ctxObj js.Value) *Context {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
ctx := runtimecontext.New(context.Background(), reqObj, jsutil.RuntimeContext)
|
ctx := runtimecontext.New(context.Background(), reqObj)
|
||||||
req = req.WithContext(ctx)
|
req = req.WithContext(ctx)
|
||||||
return req
|
return req
|
||||||
}),
|
}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user