We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcf011b commit f4c66f5Copy full SHA for f4c66f5
server/routes/surveyRoutes.js
@@ -40,7 +40,7 @@ module.exports = app => {
40
title,
41
subject,
42
body,
43
- recipients: recipients.split(',').map(email => ({ email })),
+ recipients: recipients.split(',').map(email => ({ email: email.trim() })),
44
_user: req.user.id,
45
dateSent: Date.now()
46
});
0 commit comments