You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-11-28 00:38:36 +02:00
added @request.context field
This commit is contained in:
@@ -376,7 +376,7 @@ func baseBinds(vm *goja.Runtime) {
|
||||
})
|
||||
|
||||
vm.Set("RequestInfo", func(call goja.ConstructorCall) *goja.Object {
|
||||
instance := &models.RequestInfo{}
|
||||
instance := &models.RequestInfo{Context: models.RequestInfoContextDefault}
|
||||
return structConstructor(vm, call, instance)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user