IO-1551 Remove image for notifications.

This commit is contained in:
Patrick Fic
2021-12-08 18:08:08 -08:00
parent 2c793c25ee
commit 267b927a7f
2 changed files with 3 additions and 3 deletions

View File

@@ -83,9 +83,9 @@ exports.sendNotification = async (req, res) => {
.send({
topic: "PRD_PATRICK-messaging",
notification: {
title: `ImEX Online Message - +16049992002"`,
title: `ImEX Online Message - +16049992002`,
body: "Test Noti.",
imageUrl: "https://thinkimex.com/img/logo512.png",
//imageUrl: "https://thinkimex.com/img/io-fcm.png",
},
data: {
type: "messaging-inbound",

View File

@@ -107,7 +107,7 @@ exports.receive = async (req, res) => {
notification: {
title: `ImEX Online Message - ${data.phone_num}`,
body: message.image_path ? `Image ${message.text}` : message.text,
imageUrl: "https://thinkimex.com/img/logo512.png",
//imageUrl: "https://thinkimex.com/img/io-fcm.png",
},
data,
});