summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2017-06-24 10:00:23 +0200
committerJames Lopez <james@jameslopez.es>2017-06-24 10:00:23 +0200
commitae9531052392c3f66ddaf82094f88adc456af8e9 (patch)
treef2263a3c1f9c300d023448e5574e0e0c30e7ed2c
parent859858c7e69a2ac3536e4e417fa6fff81d4b84ea (diff)
downloadgitlab-ce-ae9531052392c3f66ddaf82094f88adc456af8e9.tar.gz
fix spec failures
-rw-r--r--lib/api/users.rb2
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)