diff --git a/modules/notification/notification.service.js b/modules/notification/notification.service.js index 40b0497..4b44c80 100644 --- a/modules/notification/notification.service.js +++ b/modules/notification/notification.service.js @@ -17,8 +17,8 @@ const extraMethods = { title: title, body: body, userId: userId, - ttl: ttl || undefined, - priority: priority || 'default', + ttl: ttl ? ttl : undefined, + priority: priority ? priority : 'default', recipients: recipients, data: data, });