From 950babb68c09ea1cc49691d6c794b6437b646c41 Mon Sep 17 00:00:00 2001 From: shept Date: Tue, 25 Mar 2025 22:28:55 +0500 Subject: [PATCH] Kontur developer assaulted me about using [controller] in route --- SurveyBackend/SurveyBackend.API/Controllers/AuthController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SurveyBackend/SurveyBackend.API/Controllers/AuthController.cs b/SurveyBackend/SurveyBackend.API/Controllers/AuthController.cs index 94f1cb4..b0b0442 100644 --- a/SurveyBackend/SurveyBackend.API/Controllers/AuthController.cs +++ b/SurveyBackend/SurveyBackend.API/Controllers/AuthController.cs @@ -4,7 +4,7 @@ using SurveyBackend.DTOs; namespace SurveyBackend.Controllers; [ApiController] -[Route("[controller]")] +[Route("auth")] public class AuthController : ControllerBase { [HttpPost("login")]