Commit 54ea6f03 authored by James Lopez's avatar James Lopez

fix spec failures

parent 85a6cf47
......@@ -242,7 +242,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)
......
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