aboutsummaryrefslogtreecommitdiff
path: root/API/Controllers
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2020-12-12 15:58:55 +0200
committertranstrike <transtrike@gmail.com>2020-12-12 15:58:55 +0200
commit9fe564d452af7d5023cc410cd26761ba05730dc3 (patch)
tree8465dc4d35c3f0aefe1f269be39448e553f34021 /API/Controllers
parent9263e0c66aa7463975635a36ddcc85b45af0c66c (diff)
downloadDevHive-9fe564d452af7d5023cc410cd26761ba05730dc3.tar
DevHive-9fe564d452af7d5023cc410cd26761ba05730dc3.tar.gz
DevHive-9fe564d452af7d5023cc410cd26761ba05730dc3.zip
Last push cleanup
Diffstat (limited to 'API/Controllers')
-rw-r--r--API/Controllers/UserController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/API/Controllers/UserController.cs b/API/Controllers/UserController.cs
index ceeee33..6cb1f54 100644
--- a/API/Controllers/UserController.cs
+++ b/API/Controllers/UserController.cs
@@ -22,14 +22,14 @@ namespace API.Controllers
}
[HttpPost]
- [Route("login")]
+ [Route("Login")]
public async Task<IActionResult> Login([FromBody] LoginDTO loginDTO)
{
return await this._service.LoginUser(loginDTO);
}
[HttpPost]
- [Route("register")]
+ [Route("Register")]
public async Task<IActionResult> Register([FromBody] RegisterDTO registerDto)
{
return await this._service.RegisterUser(registerDto);