mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
facepalm
This commit is contained in:
@@ -34,7 +34,7 @@ namespace Kruzya.TelegramBot.Core.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public async IActionResult Index()
|
public async Task<IActionResult> Index()
|
||||||
{
|
{
|
||||||
if (_secretToken != null && !Request.Headers.ContainsKey(SecretTokenHeader))
|
if (_secretToken != null && !Request.Headers.ContainsKey(SecretTokenHeader))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user