Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
This commit is contained in:
commit
89f5d13efb
1 changed files with 2 additions and 1 deletions
|
|
@ -180,7 +180,8 @@ namespace TShockAPI {
|
|||
|
||||
if (ip == null && name == null)
|
||||
{
|
||||
returnBlock.Add("Error", "Required parameter missing.");
|
||||
returnBlock.Add("status", "400");
|
||||
returnBlock.Add("error", "Required parameters were missing from this API endpoint.");
|
||||
return returnBlock;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue