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