Skip to content

Commit 37fa3b2

Browse files
committed
switch order
1 parent f96cdf1 commit 37fa3b2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

infra/bigquery-export/firestore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export class FirestoreBatch {
125125
console.info(`Transfer to ${this.collectionName} complete. Total rows processed: ${totalRowsProcessed}. Time: ${duration} seconds`)
126126
}
127127

128-
async export (exportConfig, query) {
128+
async export (query, exportConfig) {
129129
this.firestore.settings({
130130
databaseId: exportConfig.database
131131
})

infra/bigquery-export/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function main () {
1818
console.log(query, config)
1919

2020
const firestore = new FirestoreBatch()
21-
await firestore.export(config, query)
21+
await firestore.export(query, config)
2222
} else {
2323
throw new Error('Bad Request: destination unknown')
2424
}

0 commit comments

Comments
 (0)