From 9533d539ff386bf43371eabbc91fe5dad467065c Mon Sep 17 00:00:00 2001 From: Maksym Mykhailenko Date: Thu, 19 Aug 2021 14:55:17 +0300 Subject: [PATCH] temporary disable universal email notifications --- src/services/UniversalNotificationService.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/services/UniversalNotificationService.js b/src/services/UniversalNotificationService.js index f4927e6..3880ad1 100644 --- a/src/services/UniversalNotificationService.js +++ b/src/services/UniversalNotificationService.js @@ -180,8 +180,9 @@ function* handle(message) { case constants.SETTINGS_EMAIL_SERVICE_ID: if (validator(data, emailSchema)) { // find missing emails and userIds - yield completeMissingFields(data.details, true, true); - yield tcApiHelper.notifyUserViaEmail(data); + // temporary disable email notification on PROD until we get good working for email templates + // yield completeMissingFields(data.details, true, true); + // yield tcApiHelper.notifyUserViaEmail(data); } break; case constants.SETTINGS_SLACK_SERVICE_ID: