fix type issue

This commit is contained in:
Salihu
2026-03-21 17:03:40 +01:00
parent 068397901a
commit a6d8cf59be
+1 -1
View File
@@ -357,7 +357,7 @@ class User extends ParanoidModel<
*/
public setNotificationEventType = (
type: NotificationEventType,
value: boolean | Record<NotificationChannelType, boolean>,
value: boolean | Record<NotificationChannelType, boolean> = true,
channel?: NotificationChannelType
) => {
if (channel !== undefined) {