Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Controllers / RoleController.cs
diff options
context:
space:
mode:
Commitd2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb (patch)
Author
 transtrike <transtrike@gmail.com>
2021-01-26 10:55:25 +0200
Committer
 transtrike <transtrike@gmail.com>
2021-01-26 10:55:25 +0200
Files0987a60a73a13ac7894ca01a1edc3274327d5cbe /src/DevHive.Web/Controllers/RoleController.cs
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.tar.gz
DevHive-d2bc08c0dcd6f0dc0822333bbb00c9fc851f49cb.zip
Parentf910a2a63cb83b35c6589591400a69c8f7f7917c (diff)
Brief testing of GetPost
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/DevHive.Web/Controllers/RoleController.cs2
diff --git a/src/DevHive.Web/Controllers/RoleController.cs b/src/DevHive.Web/Controllers/RoleController.cs
index c68a32b..d8bb60c 100644
--- a/src/DevHive.Web/Controllers/RoleController.cs
+++ b/src/DevHive.Web/Controllers/RoleController.cs
@@ -40,7 +40,7 @@ namespace DevHive.Web.Controllers
[Authorize(Policy = "User")]
public async Task<IActionResult> GetById(Guid id)
{
- RoleServiceModel roleServiceModel = await this._roleService.GetRoleById(id);
+ ReadRoleServiceModel roleServiceModel = await this._roleService.GetRoleById(id);
RoleWebModel roleWebModel = this._roleMapper.Map<RoleWebModel>(roleServiceModel);
return new OkObjectResult(roleWebModel);