diff options
Diffstat (limited to 'app/services/users/update_service.rb')
-rw-r--r-- | app/services/users/update_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/users/update_service.rb b/app/services/users/update_service.rb index e2e720a5703..15ca1a55a5b 100644 --- a/app/services/users/update_service.rb +++ b/app/services/users/update_service.rb @@ -4,7 +4,7 @@ module Users def initialize(current_user, params = {}) @current_user = current_user - @user = params[:user] + @user = params.delete(:user) @params = params.dup end |