From 19d45738448981b4f94e8241d5dddb8be1440ef4 Mon Sep 17 00:00:00 2001 From: Yegor Vialov Date: Sun, 12 Apr 2020 18:18:46 +0000 Subject: [PATCH] Notifications limit changed to 50 --- functions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/index.js b/functions/index.js index 262acd5..b168c4b 100644 --- a/functions/index.js +++ b/functions/index.js @@ -7,7 +7,7 @@ admin.initializeApp(); var db = admin.firestore(); -const MAX_NOTIFICATIONS_PER_DAY = 100; +const MAX_NOTIFICATIONS_PER_DAY = 50; exports.sendPushNotification = functions.https.onRequest(async (req, res) => { if (debug()) console.log('Received payload', req.body);