mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 20:12:25 +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
|
if not In.Params.msg or In.Params.msg == "" then
|
||||||
Out.Error = {
|
Out.Error = {
|
||||||
message = "there must be a msg parameter"
|
message = "there must be a msg parameter"
|
||||||
|
|||||||
@@ -97,8 +97,6 @@ func (h *HandlerV1) HandleLUA(path string, req *rpc.RPCRequest) *rpc.RPCResponse
|
|||||||
return 0
|
return 0
|
||||||
}))
|
}))
|
||||||
|
|
||||||
registerDatabaseType(L)
|
|
||||||
|
|
||||||
L.SetGlobal("Log", logTable)
|
L.SetGlobal("Log", logTable)
|
||||||
|
|
||||||
prep := filepath.Join(h.x.Config.Conf.ComDir, "_prepare.lua")
|
prep := filepath.Join(h.x.Config.Conf.ComDir, "_prepare.lua")
|
||||||
|
|||||||
Reference in New Issue
Block a user