This commit is contained in:
cdle
2023-06-29 21:18:50 +08:00
parent 7ea4710d16
commit d2c599dd68
4 changed files with 119 additions and 15 deletions
+2 -2
View File
@@ -540,7 +540,7 @@ func initPlugin(data string, uuid string) (*common.Function, []func(), error) {
uuid: uuid,
vm: vm,
}
f.Init(plt, botid)
f.Init(plt, botid, nil)
return f
})
vm.Set("initAdapter", func(plt, botid string) *Factory {
@@ -548,7 +548,7 @@ func initPlugin(data string, uuid string) (*common.Function, []func(), error) {
uuid: uuid,
vm: vm,
}
f.Init(plt, botid)
f.Init(plt, botid, nil)
return f
})
getAdapter := func(plt, botid string) map[string]interface{} {