Skip to content

Commit

Permalink
Lets not send verify email when manually verifying in API
Browse files Browse the repository at this point in the history
  • Loading branch information
MacTwister committed Jan 16, 2024
1 parent 363c8a6 commit 1c95d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v2/admin_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def create_user
logger.error ex.message
error! :bad_request
end
UserMailer.welcome(@user.id).deliver_now
# TODO: Send verify email if not verified
render_json ApiUserSerializer.new(@user, {}).serialized_json
end

Expand Down

0 comments on commit 1c95d51

Please sign in to comment.