Skip to content

Conversation

@justingrayston
Copy link

Removes Functions.config().firebase as this has been removed
since beta v1 made breaking changes. Also moved the db init, to
after Firebase init so DB info has been passed in.

Closes #3

const admin = require('firebase-admin');

// Initialise Firebase services
admin.initializeApp();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed.

Removes `Functions.config().firebase` as this has been removed
since beta v1 made breaking changes. Also moved the db init, to
after Firebase init so DB info has been passed in.

Closes sararob#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants