Skip to content

Commit e5f6214

Browse files
author
Aryeh Hillman
authored
Remove redundant admin.initializeApp(); Call (#128)
1 parent 95351f7 commit e5f6214

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

firestore/main/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ async function initializeApp() {
2323
async function initializeAppFunctions() {
2424
process.env.GCLOUD_PROJECT = 'firestorebeta1test2';
2525
// [START initialize_app_functions]
26-
const admin = require('firebase-admin');
2726
admin.initializeApp();
2827

2928
const db = admin.firestore();
@@ -1097,4 +1096,4 @@ describe('Firestore Smoketests', () => {
10971096
it('should find all museums when querying a collection group', () => {
10981097
return collectionGroupQuery(db);
10991098
});
1100-
});
1099+
});

0 commit comments

Comments
 (0)