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;
|
namespace SurveyBackend.Controllers;
|
||||||
|
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Route("[controller]")]
|
[Route("auth")]
|
||||||
public class AuthController : ControllerBase
|
public class AuthController : ControllerBase
|
||||||
{
|
{
|
||||||
[HttpPost("login")]
|
[HttpPost("login")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue