mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-05 05:32:25 +00:00
remove vendor
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
if In.Params and In.Params.about then
|
||||
Out.Result = {
|
||||
description = "Echo of the message",
|
||||
params = {
|
||||
msg = "just message"
|
||||
}
|
||||
}
|
||||
return
|
||||
end
|
||||
|
||||
local function validate()
|
||||
if not In.Params.msg or In.Params.msg == "" then
|
||||
Out.Error = {
|
||||
message = "there must be a msg parameter"
|
||||
}
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
validate()
|
||||
Out.Result.answer = In.Params.msg
|
||||
@@ -1,8 +0,0 @@
|
||||
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