From 8629fb1e017e94601dc86a5b52bccba1f2eac1f3 Mon Sep 17 00:00:00 2001 From: les Date: Tue, 3 Nov 2020 21:37:21 +0100 Subject: [PATCH] minor --- server/firstrun.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/firstrun.js b/server/firstrun.js index fb51af76..67e2d2c9 100644 --- a/server/firstrun.js +++ b/server/firstrun.js @@ -64,12 +64,12 @@ module.exports = { // }) // send confirmed events to mastodon - await Notification.create({ action: 'Create', type: 'ap', filters: { is_visible: true } }) - await Notification.create({ action: 'Update', type: 'ap', filters: { is_visible: true } }) - await Notification.create({ action: 'Delete', type: 'ap', filters: { is_visible: true } }) + await Notification.create({ action: 'Create', type: 'ap', filters: '{ "is_visible": true }' }) + await Notification.create({ action: 'Update', type: 'ap', filters: '{ "is_visible": true }' }) + await Notification.create({ action: 'Delete', type: 'ap', filters: '{ "is_visible": true }' }) // send anon events to admin - await Notification.create({ action: 'Create', type: 'admin_email', filters: { is_visible: false } }) + await Notification.create({ action: 'Create', type: 'admin_email', filters: '{ "is_visible": false }' }) // TODO email's notifications // await db.notification.create({ action: 'Create', type: 'email', filters: { is_visible: true } })