diff options
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r-- | lib/api/users.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index bdebda58d3f..8b44639dd7d 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -329,7 +329,6 @@ module API email = Emails::CreateService.new(user, declared_params(include_missing: false)).execute if email.errors.blank? - NotificationService.new.new_email(email) present email, with: Entities::Email else render_validation_error!(email) @@ -675,7 +674,6 @@ module API email = Emails::CreateService.new(current_user, declared_params).execute if email.errors.blank? - NotificationService.new.new_email(email) present email, with: Entities::Email else render_validation_error!(email) |