From 4d7a7442ce75c2a0e198331faaf2b18e681da506 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 30 Jul 2021 15:21:04 -0700 Subject: [PATCH] Remove FCM token. --- server/sms/receive.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/server/sms/receive.js b/server/sms/receive.js index dc0c2387a..e3d11822d 100644 --- a/server/sms/receive.js +++ b/server/sms/receive.js @@ -94,19 +94,19 @@ exports.receive = (req, res) => { // Send a message to the device corresponding to the provided // registration token. - admin - .messaging() - .sendMulticast(message) - .then((response) => { - // Response is a message ID string. - console.log( - "[SMS Receive] Successfully sent FCM Broadcast.:" - //JSON.stringify(response) - ); - }) - .catch((error) => { - console.log("Error sending message:", error); - }); + // admin + // .messaging() + // .sendMulticast(message) + // .then((response) => { + // // Response is a message ID string. + // console.log( + // "[SMS Receive] Successfully sent FCM Broadcast.:" + // //JSON.stringify(response) + // ); + // }) + // .catch((error) => { + // console.log("Error sending message:", error); + // }); }) .catch((e2) => { console.log("e2", e2);