mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 21:12:25 +00:00
add "about" to scripts
you can get a description if you send a request where in params there is a field about with any content
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
Log.Event("got ping")
|
||||
Log.EventWarn("got ping")
|
||||
Log.EventError("got ping")
|
||||
|
||||
Log.Error("mm")
|
||||
if In.Params and In.Params.about then
|
||||
Out.Result = {
|
||||
description = "Just ping"
|
||||
}
|
||||
return
|
||||
end
|
||||
|
||||
Out.Result.answer = "pong"
|
||||
Reference in New Issue
Block a user