diff --git a/firestore-bigquery-export/scripts/import/src/config.ts b/firestore-bigquery-export/scripts/import/src/config.ts index 416198627..da6fb98d0 100644 --- a/firestore-bigquery-export/scripts/import/src/config.ts +++ b/firestore-bigquery-export/scripts/import/src/config.ts @@ -185,7 +185,7 @@ export async function parseConfig(): Promise { if (program.project === undefined) { errors.push("Project is not specified."); } - if (program.bigQueryProject === undefined) { + if (program.bigqueryProject === undefined) { errors.push("BigQuery Project is not specified."); } if (program.sourceCollectionPath === undefined) { @@ -226,7 +226,7 @@ export async function parseConfig(): Promise { return { kind: "CONFIG", projectId: program.project, - bigQueryProjectId: program.bigQueryProject, + bigQueryProjectId: program.bigqueryProject, sourceCollectionPath: program.sourceCollectionPath, datasetId: program.dataset, tableId: program.tableNamePrefix, @@ -243,7 +243,7 @@ export async function parseConfig(): Promise { const { project, sourceCollectionPath, - bigQueryProject, + bigqueryProject, dataset, table, batchSize, @@ -265,7 +265,7 @@ export async function parseConfig(): Promise { return { kind: "CONFIG", projectId: project, - bigQueryProjectId: bigQueryProject, + bigQueryProjectId: bigqueryProject, sourceCollectionPath: sourceCollectionPath, datasetId: dataset, tableId: table,