diff options
author | James Lopez <james@jameslopez.es> | 2017-06-24 10:00:23 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-06-24 10:00:23 +0200 |
commit | ae9531052392c3f66ddaf82094f88adc456af8e9 (patch) | |
tree | f2263a3c1f9c300d023448e5574e0e0c30e7ed2c /lib/api/users.rb | |
parent | 859858c7e69a2ac3536e4e417fa6fff81d4b84ea (diff) | |
download | gitlab-ce-ae9531052392c3f66ddaf82094f88adc456af8e9.tar.gz |
fix spec failures
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r-- | lib/api/users.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index 2eb776a539f..f9555842daf 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -236,7 +236,7 @@ module API user = User.find_by(id: params.delete(:id)) not_found!('User') unless user - email = Emails::CreateService.new(user,declared_params(include_missing: false)).execute + email = Emails::CreateService.new(user, declared_params(include_missing: false)).execute if email.errors.blank? NotificationService.new.new_email(email) |