added @request.context field

This commit is contained in:
Gani Georgiev committed 2024-02-17 15:01:09 +02:00
1 parent 6aaf98215d
commit a11abef84b
42 files changed
+79 -43

No files matched your search

+1 -1
View File
@@ -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)
})