diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-12 15:58:55 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-12 15:58:55 +0200 |
| commit | 9fe564d452af7d5023cc410cd26761ba05730dc3 (patch) | |
| tree | 8465dc4d35c3f0aefe1f269be39448e553f34021 /API/Controllers/UserController.cs | |
| parent | 9263e0c66aa7463975635a36ddcc85b45af0c66c (diff) | |
| download | DevHive-9fe564d452af7d5023cc410cd26761ba05730dc3.tar DevHive-9fe564d452af7d5023cc410cd26761ba05730dc3.tar.gz DevHive-9fe564d452af7d5023cc410cd26761ba05730dc3.zip | |
Last push cleanup
Diffstat (limited to 'API/Controllers/UserController.cs')
| -rw-r--r-- | API/Controllers/UserController.cs | 4 |
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); |
