Skip to content

Commit 90add5b

Browse files
committed
arguments renamed
1 parent e5aaf33 commit 90add5b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

infra/bigquery-export/firestore.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ export class FirestoreBatch {
126126
}
127127

128128
async export (exportConfig, query) {
129-
this.date = exportConfig.date
130-
this.collectionName = exportConfig.name
131-
this.collectionType = exportConfig.type
132129
this.firestore.settings({
133-
databaseId: 'tech-report-apis-' + exportConfig.environment
130+
databaseId: exportConfig.database
134131
})
132+
this.collectionName = exportConfig.collection
133+
this.collectionType = exportConfig.type
134+
this.date = exportConfig.date
135135

136136
await this.batchDelete()
137137

0 commit comments

Comments
 (0)