add some small changes

This commit is contained in:
2025-07-30 12:00:21 +03:00
parent c61bc841e6
commit 98d2443679
3 changed files with 2 additions and 3 deletions

View File

@@ -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"

View File

@@ -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")

View File

@@ -2,6 +2,7 @@ package main
import (
"github.com/akyaiy/GoSally-mvp/cmd"
_ "modernc.org/sqlite"
)
func main() {