This commit is contained in:
cdle
2023-06-16 17:54:32 +08:00
parent 2b49c28efe
commit e9296b7bf3
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -440,6 +440,7 @@ func SetPluginMethod(vm *goja.Runtime, uuid string, on_start bool, running func(
vm.Set("MongoClient", func(uri string) interface{} {
return &mongodb.MongoClient{
Uri: uri,
Vm: vm,
}
})
}