Use separate queue method for notifications

This commit is contained in:
richard-dds
2019-05-15 11:16:48 -04:00
parent 9e97df79f5
commit 9ba1def91c
4 changed files with 6 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ class NotificationSender(object):
recipients, body
)
)
self.queue.send_mail(recipients, self.EMAIL_SUBJECT, body)
self.queue.send_notification_mail(recipients, self.EMAIL_SUBJECT, body)
def _get_recipients(self, type_):
query = select([NotificationRecipient.email])