diff --git a/CLI/HttpService/Core.cs b/CLI/HttpService/Core.cs index 5f85688..85257c1 100644 --- a/CLI/HttpService/Core.cs +++ b/CLI/HttpService/Core.cs @@ -299,6 +299,8 @@ namespace BetterSecondBot.HttpService [About("Makes a request to the core commands lib
See LSL example on how to create a core command auth code")] [ArgHints("Request Body", "JsonObject", "Command: string
Args: string[]
AuthCode: string")] [ReturnHints("accepted")] + [ReturnHints("Auth not accepted")] + [ReturnHints("Failed")] [Route(HttpVerbs.Post, "/command/{token}")] public async Task command(string token) { @@ -315,7 +317,9 @@ namespace BetterSecondBot.HttpService { return BasicReply("accepted"); } + return BasicReply("Failed"); } + return BasicReply("Auth not accepted"); } return BasicReply("Token not accepted"); }