Skip to content

Commit fd69de2

Browse files
authored
Merge pull request #4041 from QuantiModo/feature/putTrackingReminderNotificationsInLocalStorageAndUpdateInbox
putTrackingReminderNotificationsInLocalStorageAndUpdateInbox
2 parents c03c911 + 88166fc commit fd69de2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/js/services/qmService.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2876,8 +2876,10 @@ angular.module('starter').factory('qmService', ["$http", "$q", "$rootScope", "$i
28762876
if(!notificationExists && queue[0].reminderFrequency && !queue[0].stopTrackingDate){
28772877
qmLog.error("Notification not found for reminder we just created!", null, {'reminder': queue[0]});
28782878
}
2879-
qmLog.info("Got " + notifications.length + " notifications to from postTrackingRemindersDeferred response", null, {notifications: notifications});
2880-
qm.storage.setTrackingReminderNotifications(notifications);
2879+
qmLog.info("Got " + notifications.length +
2880+
" notifications to from postTrackingRemindersDeferred response",
2881+
null, {notifications: notifications});
2882+
putTrackingReminderNotificationsInLocalStorageAndUpdateInbox(notifications);
28812883
}
28822884
}else{
28832885
qmLog.error("No postTrackingRemindersToApi response.data!");

0 commit comments

Comments
 (0)