diff options
author | James Lopez <james@jameslopez.es> | 2017-09-27 12:08:10 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-09-28 08:46:39 +0200 |
commit | e07819cbf70511ad38c107dc593ec87606567cdc (patch) | |
tree | 601ea34cadd28a3d8d530e8228f8ba4873ac2251 /app/services | |
parent | 67d06dee30379fc93be196e2cf509660d1661aea (diff) | |
download | gitlab-ce-e07819cbf70511ad38c107dc593ec87606567cdc.tar.gz |
fix update service
Diffstat (limited to 'app/services')
-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 |