From a2d2d7fb5812a321d8005b74c8584515eb19609c Mon Sep 17 00:00:00 2001 From: david Date: Thu, 7 Nov 2019 19:06:45 +0100 Subject: [PATCH] . --- modules/notification/notification.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, });