From 71f06170bfc7bf18ef586622f0d1e37d24aec1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Mon, 4 Jan 2016 16:38:47 -0300 Subject: [PATCH] bits in notifications --- lib/pushnotificationsservice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pushnotificationsservice.js b/lib/pushnotificationsservice.js index e6fd6fe..b1c3d7b 100644 --- a/lib/pushnotificationsservice.js +++ b/lib/pushnotificationsservice.js @@ -78,7 +78,7 @@ PushNotificationsService.prototype.sendPushNotifications = function(notification "collapseKey": "optional", "data": { "title": "New incoming transaction", - "message": notification.data.amount + " bits" + "message": notification.data.amount / 100 + " bits" } }; } @@ -89,7 +89,7 @@ PushNotificationsService.prototype.sendPushNotifications = function(notification "collapseKey": "optional", "data": { "title": "New outgoing transaction", - "message": notification.data.amount + " bits" + "message": notification.data.amount / 100 + " bits" } }; }