Kontur developer assaulted me about using [controller] in route
This commit is contained in:
parent
f9a680c554
commit
950babb68c
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ using SurveyBackend.DTOs;
|
|||
namespace SurveyBackend.Controllers;
|
||||
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
[Route("auth")]
|
||||
public class AuthController : ControllerBase
|
||||
{
|
||||
[HttpPost("login")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue