aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Services/Services/RoleService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Services/Services/RoleService.cs')
-rw-r--r--src/DevHive.Services/Services/RoleService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Services/Services/RoleService.cs b/src/DevHive.Services/Services/RoleService.cs
index 3ebb7c8..896946d 100644
--- a/src/DevHive.Services/Services/RoleService.cs
+++ b/src/DevHive.Services/Services/RoleService.cs
@@ -56,7 +56,7 @@ namespace DevHive.Services.Services
throw new ArgumentException("Role name already exists!");
Role role = this._roleMapper.Map<Role>(updateRoleServiceModel);
- return await this._roleRepository.EditAsync(role);
+ return await this._roleRepository.EditAsync(updateRoleServiceModel.Id, role);
}
public async Task<bool> DeleteRole(Guid id)