From 317c97eddaa83d9db72a46fe5afb6220e3262928 Mon Sep 17 00:00:00 2001 From: Sojan Date: Wed, 31 Aug 2022 16:50:21 +0530 Subject: [PATCH] chore: disable email notifications --- app/jobs/notification/email_notification_job.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/jobs/notification/email_notification_job.rb b/app/jobs/notification/email_notification_job.rb index 6a1e33c71..44e272de2 100644 --- a/app/jobs/notification/email_notification_job.rb +++ b/app/jobs/notification/email_notification_job.rb @@ -5,6 +5,7 @@ class Notification::EmailNotificationJob < ApplicationJob # no need to send email if notification has been read already return if notification.read_at.present? - Notification::EmailNotificationService.new(notification: notification).perform + # suspending email notifications temporarily for now + # Notification::EmailNotificationService.new(notification: notification).perform end end