diff --git a/server/models/User.ts b/server/models/User.ts index e0464ee71e..1b95a6be92 100644 --- a/server/models/User.ts +++ b/server/models/User.ts @@ -357,7 +357,7 @@ class User extends ParanoidModel< */ public setNotificationEventType = ( type: NotificationEventType, - value: boolean | Record, + value: boolean | Record = true, channel?: NotificationChannelType ) => { if (channel !== undefined) {