From 90a31e8923c68d1095145b81bd5927e3d2e389f4 Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Fri, 1 Oct 2021 21:04:55 +0100 Subject: [PATCH] [FIX] Ensure Firebase Functions is defined --- functions/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/index.js b/functions/index.js index adbd1d5..4862be5 100644 --- a/functions/index.js +++ b/functions/index.js @@ -1,6 +1,7 @@ /* eslint-disable indent */ /* eslint-disable no-tabs */ const levenshtein = require('js-levenshtein'); +const functions = require("firebase-functions").region("europe-west2");//.region("europe-west2") const admin = require("firebase-admin"); admin.initializeApp(); const db = admin.firestore();