From 24977c90bd186e061f434369553abec3b838521d Mon Sep 17 00:00:00 2001 From: Sergey Gut Date: Sun, 28 Jan 2024 20:48:35 +0300 Subject: [PATCH] facepalm --- Core/Controllers/Telegram.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Controllers/Telegram.cs b/Core/Controllers/Telegram.cs index ae477de..230ee59 100644 --- a/Core/Controllers/Telegram.cs +++ b/Core/Controllers/Telegram.cs @@ -34,7 +34,7 @@ namespace Kruzya.TelegramBot.Core.Controllers } [HttpPost] - public async IActionResult Index() + public async Task Index() { if (_secretToken != null && !Request.Headers.ContainsKey(SecretTokenHeader)) {