Skip to content

Commit

Permalink
Send unix time, not time string (#469)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Cunningham <[email protected]>
  • Loading branch information
digitaldan authored Jul 1, 2024
1 parent e374614 commit da5e4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notificationsender/firebase.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ exports.sendFCMNotification = function (registrationIds, notification) {
severity: notification.severity || '',
icon: notification.icon || '',
persistedId: notification._id.toString(),
timestamp: notification.created.toString(),
timestamp: notification.created.getTime().toString(),
notificationId: androidNotificationId.toString()
};

Expand Down

0 comments on commit da5e4e7

Please sign in to comment.