We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no key "databaseURL" in "servicceAccount" => This affects to Initialize App when import Json to Firestore in my case.
export const initializeApp = (serviceAccount: object, name = '[DEFAULT]') => { if ( admin.apps.length === 0 || (admin.apps.length > 0 && admin.app().name !== name) ) { admin.initializeApp( { credential: admin.credential.cert(serviceAccount), databaseURL: serviceAccount['databaseURL'], }, name ) admin.firestore().settings({ timestampsInSnapshots: true }) } return true }
The text was updated successfully, but these errors were encountered:
Hi @thanh01pmt, can you add the databaseURL to your serviceAccount file?
Or initialize by using normal process, then you can use the backup & restore feature.
Let me know if it works.
Sorry, something went wrong.
@thanh01pmt
No branches or pull requests
There is no key "databaseURL" in "servicceAccount"
=> This affects to Initialize App when import Json to Firestore in my case.
The text was updated successfully, but these errors were encountered: