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:
2025-07-30 18:32:38 +03:00
parent 166c8470d4
commit 6d2bf5cdd2
3 changed files with 26 additions and 5 deletions

View File

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