From d2280cdc5bfebd3522b9260e9f9c38bc1d9c4909 Mon Sep 17 00:00:00 2001 From: Lisoveliy Date: Fri, 25 Jul 2025 16:39:22 +0300 Subject: [PATCH] chore: cleanup --- JOBot.Backend/Controllers/HeadHunterHookController.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/JOBot.Backend/Controllers/HeadHunterHookController.cs b/JOBot.Backend/Controllers/HeadHunterHookController.cs index 4b630ae..60ef630 100644 --- a/JOBot.Backend/Controllers/HeadHunterHookController.cs +++ b/JOBot.Backend/Controllers/HeadHunterHookController.cs @@ -14,11 +14,9 @@ public class HeadHunterHookController(HeadHunterService hhService) var res = await hhService.AuthUser(userId, code, error); return res switch { - HeadHunterService.Status.Success => Ok( - "Авторизация завершена успешно. Вернитесь в Telegram для продолжения."), + HeadHunterService.Status.Success => Ok("Авторизация завершена успешно. Вернитесь в Telegram для продолжения."), HeadHunterService.Status.UserNotFoundError => NotFound("Пользователь не найден."), - _ => BadRequest( - "Авторизация завершена с ошибкой. Вернитесь в Telegram для продолжения.") //TODO: Add resource + _ => BadRequest("Авторизация завершена с ошибкой. Вернитесь в Telegram для продолжения.") //TODO: Add resource }; } } \ No newline at end of file