Update Chat.cs

This commit is contained in:
Madpeterz 2021-02-18 13:32:09 +00:00
parent 46cd5c058b
commit 62a7da0463

View file

@ -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");
}