From 62a7da046303786991326f32588057a3ffe5f6ac Mon Sep 17 00:00:00 2001 From: Madpeterz <57852827+Madpeterz@users.noreply.github.com> Date: Thu, 18 Feb 2021 13:32:09 +0000 Subject: [PATCH] Update Chat.cs --- Core/Commands/Chat.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Commands/Chat.cs b/Core/Commands/Chat.cs index 0f832ef..b0a249d 100644 --- a/Core/Commands/Chat.cs +++ b/Core/Commands/Chat.cs @@ -21,7 +21,7 @@ namespace BetterSecondBot.HttpService [Route(HttpVerbs.Get, "/LocalChatHistory/{token}")] public object LocalChatHistory(string token) { - if (tokens.Allow(token, "chat", "localchathistory", handleGetClientIP()) == false) + if (tokens.Allow(token, "chat", "LocalChatHistory", handleGetClientIP()) == false) { return Failure("Token not accepted"); }