From f8039c8f808eec15a6813a6f044416de874e16bd Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Wed, 5 Oct 2016 08:28:01 -0600 Subject: [PATCH] Rest API uses 'permissions' on /v2/groups/update Arguably this should be a change to a new API version, but the current functionality is broken so this just kinda fixes that. Fixes #1292 --- TShockAPI/Rest/RestManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Rest/RestManager.cs b/TShockAPI/Rest/RestManager.cs index 03c6692a..64c624a8 100644 --- a/TShockAPI/Rest/RestManager.cs +++ b/TShockAPI/Rest/RestManager.cs @@ -997,7 +997,7 @@ namespace TShockAPI [Noun("group", true, "The name of the group to modify.", typeof(String))] [Noun("parent", false, "The name of the new parent for this group.", typeof(String))] [Noun("chatcolor", false, "The new chat color r,g,b.", typeof(String))] - [Noun("permisisons", false, "The new comma seperated list of permissions.", typeof(String))] + [Noun("permissions", false, "The new comma seperated list of permissions.", typeof(String))] [Token] private object GroupUpdate(RestRequestArgs args) {