Update Chat.cs
This commit is contained in:
parent
46cd5c058b
commit
62a7da0463
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ namespace BetterSecondBot.HttpService
|
||||||
[Route(HttpVerbs.Get, "/LocalChatHistory/{token}")]
|
[Route(HttpVerbs.Get, "/LocalChatHistory/{token}")]
|
||||||
public object LocalChatHistory(string 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");
|
return Failure("Token not accepted");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue