[go: nahoru, domu]

Skip to content

Commit

Permalink
feat(firestore-bigquery-export): fix cloud task path (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
jauntybrain authored and cabljac committed Mar 21, 2024
1 parent ff92782 commit 2836a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firestore-bigquery-export/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Version 0.1.46

feature - allow firestore database selection
fix - cloud task location in the BigQuery export extension

docs - remove mention of bigquery updating on import

Expand Down
4 changes: 2 additions & 2 deletions firestore-bigquery-export/functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ exports.fsimportexistingdocs = functions.tasks
if (rows.length == config.docsPerBackfill) {
// There are more documents to import - enqueue another task to continue the backfill.
const queue = getFunctions().taskQueue(
"fsimportexistingdocs",
process.env.EXT_INSTANCE_ID
`locations/${config.location}/functions/fsimportexistingdocs`,
config.instanceId
);
await queue.enqueue({
offset: offset + config.docsPerBackfill,
Expand Down

0 comments on commit 2836a0c

Please sign in to comment.