Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-26 21:10:03 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-26 21:10:03 +0300
commit332df93cf612d3ad71e35f6dc214f9b984d45287 (patch)
treedc4439df46db6cc81979b074aba870a7830b0ffe /app/services/notification_service.rb
parent5608dbe14d3bd0d95a78e50e0cf3f162342f013e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/notification_service.rb')
-rw-r--r--app/services/notification_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/notification_service.rb b/app/services/notification_service.rb
index b0de62c299a..3b3d354d8ea 100644
--- a/app/services/notification_service.rb
+++ b/app/services/notification_service.rb
@@ -92,14 +92,14 @@ class NotificationService
def application_created(user)
return unless user.can?(:receive_notifications)
- mailer.application_created_email(user).deliver_now
+ mailer.application_created_email(user).deliver_later
end
# Notify the owner of the account when an application is authorized
def application_authorized(user)
return unless user.can?(:receive_notifications)
- mailer.application_authorized_email(user).deliver_now
+ mailer.application_authorized_email(user).deliver_later
end
# Notify the owner of the account when a new personal access token is created