Commit e07819cb authored by James Lopez's avatar James Lopez

fix update service

parent 67d06dee
...@@ -4,7 +4,7 @@ module Users ...@@ -4,7 +4,7 @@ module Users
def initialize(current_user, params = {}) def initialize(current_user, params = {})
@current_user = current_user @current_user = current_user
@user = params[:user] @user = params.delete(:user)
@params = params.dup @params = params.dup
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment