Returning to not have pending requests

This commit is contained in:
Kasper Rynning-Tønnesen
2020-02-14 16:00:10 +01:00
parent d2c2411e2e
commit 4287059361

View File

@@ -70,6 +70,8 @@ router.route("/send-notification").post(async (req, res) => {
let subscription = subs[i]; //get subscription from your databse here.
sendNotification(subscription, message);
}
res.json(true);
return;
});
schedule.scheduleJob(