diff --git a/server/notification.js b/server/notification.js index 1e1e0ccde..b2d9d5812 100644 --- a/server/notification.js +++ b/server/notification.js @@ -93,7 +93,7 @@ class Notification { bean.name = notification.name; bean.user_id = userID; bean.config = JSON.stringify(notification); - bean.is_default = notification.isDefault; + bean.is_default = notification.isDefault || false; await R.store(bean) if (notification.applyExisting) {