improve notifications

This commit is contained in:
guillaume 2018-10-11 16:46:59 +02:00
parent b925b8e74d
commit 23a35d9707

View file

@ -2,7 +2,6 @@
Meteor.startup(() => {
Notifications.subscribe('email', (user, title, description, params) => {
// add quote to make titles easier to read in email text
console.log('ICI', user, title, description, params);
const quoteParams = _.clone(params);
['card', 'list', 'oldList', 'board', 'comment'].forEach((key) => {
if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`;