diff --git a/JOBot.Backend/Controllers/HeadHunterHookController.cs b/JOBot.Backend/Controllers/HeadHunterHookController.cs index 27e9310..1ba1e24 100644 --- a/JOBot.Backend/Controllers/HeadHunterHookController.cs +++ b/JOBot.Backend/Controllers/HeadHunterHookController.cs @@ -10,9 +10,9 @@ public class HeadHunterHookController(HeadHunterService hhService) { [HttpGet] - public async Task Get(int userId, string? error, string authorizationCode) + public async Task Get(int userId, string? error, string code) { - var res = await hhService.AuthUser(userId, authorizationCode, error); + var res = await hhService.AuthUser(userId, code, error); return res switch { HeadHunterService.Status.Success => Ok("Авторизация завершена успешно. Вернитесь в Telegram для продолжения."),