diff options
Diffstat (limited to 'src/DevHive.Services/Services/UserService.cs')
| -rw-r--r-- | src/DevHive.Services/Services/UserService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Services/Services/UserService.cs b/src/DevHive.Services/Services/UserService.cs index 217154e..533f422 100644 --- a/src/DevHive.Services/Services/UserService.cs +++ b/src/DevHive.Services/Services/UserService.cs @@ -152,7 +152,7 @@ namespace DevHive.Services.Services updateUserServiceModel.Technologies.RemoveWhere(x => x.Id == Guid.Empty); User user = this._userMapper.Map<User>(updateUserServiceModel); - bool successful = await this._userRepository.EditAsync(user); + bool successful = await this._userRepository.EditAsync(updateUserServiceModel.Id, user); if (!successful) throw new InvalidOperationException("Unable to edit user!"); |
