From 7016ae880cae43aff90595bea3a6133ad73df926 Mon Sep 17 00:00:00 2001 From: Scott Benton Date: Thu, 25 Apr 2024 18:38:41 -0400 Subject: [PATCH] fix(build): Fixing build issues in functions --- functions/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/src/index.ts b/functions/src/index.ts index 5477114e..b21e3d78 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -8,11 +8,11 @@ */ import { getFirestore, FieldValue } from "firebase-admin/firestore"; -import { initializeApp } from "firebase-admin"; +import * as admin from "firebase-admin"; import { onCall } from "firebase-functions/v2/https"; import * as logger from "firebase-functions/logger"; -initializeApp(); +admin.initializeApp(); // Start writing functions // https://firebase.google.com/docs/functions/typescript