-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Just updating the index.js const as describe and deploying leads to the following error.
Error: The default Firebase app does not exist. Make sure you call initializeApp() before using any of the Firebase services.
This is due to Functions.config().firebase being removed https://firebase.google.com/docs/functions/beta-v1-diff#functionsconfigfirebase_removed
In addition the db needs to be initialised after the app has been initialized and the env vars automatically provided.
Metadata
Metadata
Assignees
Labels
No labels