This commit is contained in:
Wolfgang Huß 2021-08-12 07:27:12 +02:00
parent f3bf730a12
commit 5e56473b0e

View File

@ -4,6 +4,7 @@ import { validateNotifyUsers } from '../validation/validationMiddleware'
import { sendMail } from '../helpers/email/sendMail'
import { notificationTemplate } from '../helpers/email/templateBuilder'
// Wolle -> queryNotificationEmails
const queryNotificationsEmails = async (context, notificationUserIds) => {
if (!(notificationUserIds && notificationUserIds.length)) return []
const userEmailCypher = `