From daa3632789469f92fa569f5c9ee94e2b2e00b049 Mon Sep 17 00:00:00 2001 From: Scott Benton Date: Thu, 25 Apr 2024 18:34:19 -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 1927241c..5477114e 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -51,14 +51,14 @@ export const getHomebrewEditorInviteKey = onCall< const linkDocuments = ( await getFirestore() - .collection(`/homebrew/homebrew/editorInviteKeys`) + .collection("/homebrew/homebrew/editorInviteKeys") .where("collectionId", "==", homebrewCollectionId) .get() ).docs; if (linkDocuments.length === 0) { logger.info("No link documents found, creating one."); - getFirestore().collection(`/homebrew/homebrew/editorInviteKeys`).add({ + getFirestore().collection("/homebrew/homebrew/editorInviteKeys").add({ collectionId: homebrewCollectionId, }); }