From 23a2d33f8c1bd851b8f1e29a319b14a67db82a94 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Sat, 9 Oct 2021 17:45:05 +0800 Subject: [PATCH] [backup] restore pushToken --- server/server.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/server.js b/server/server.js index ed6fa6df7..390c94095 100644 --- a/server/server.js +++ b/server/server.js @@ -1041,6 +1041,10 @@ exports.entryPage = "dashboard"; notificationIDList: {}, }; + if (monitorListData[i].pushToken) { + monitor.pushToken = monitorListData[i].pushToken; + } + let bean = R.dispense("monitor"); let notificationIDList = monitor.notificationIDList;