mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 08:32:24 +00:00
add some small changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function validate()
|
||||
local function validate()
|
||||
if not In.Params.msg or In.Params.msg == "" then
|
||||
Out.Error = {
|
||||
message = "there must be a msg parameter"
|
||||
|
||||
@@ -97,8 +97,6 @@ func (h *HandlerV1) HandleLUA(path string, req *rpc.RPCRequest) *rpc.RPCResponse
|
||||
return 0
|
||||
}))
|
||||
|
||||
registerDatabaseType(L)
|
||||
|
||||
L.SetGlobal("Log", logTable)
|
||||
|
||||
prep := filepath.Join(h.x.Config.Conf.ComDir, "_prepare.lua")
|
||||
|
||||
Reference in New Issue
Block a user