From 3665d13c3eb3b9cac9dcc49eafcc4ac0a4a09841 Mon Sep 17 00:00:00 2001 From: Javinator9889 Date: Sun, 28 Jun 2020 14:12:45 +0200 Subject: [PATCH] Updated Firebase Functions version --- functions/src/bin/daemon.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/functions/src/bin/daemon.ts b/functions/src/bin/daemon.ts index fad031d..b96e737 100644 --- a/functions/src/bin/daemon.ts +++ b/functions/src/bin/daemon.ts @@ -16,4 +16,6 @@ process.on('SIGINT', () => { .catch(err => console.warn(`Error while finishing the schedules - ${err}`)); }); -exports.updater = functions.https.onRequest((req, resp) => resp.sendStatus(200)); +exports.updater = functions.https.onRequest(async (req, resp) => { + resp.sendStatus(200); +});