Skip to content

Commit

Permalink
send parentId in upsertions
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Dec 13, 2024
1 parent 78c313c commit 6c92486
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connectors/src/connectors/confluence/temporal/activities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ export async function confluenceCheckAndUpsertPageActivity({
loggerArgs,
// Parent Ids will be computed after all page imports within the space have been completed.
parents: [documentId],
parentId: null,
tags,
timestampMs: lastPageVersionCreatedAt.getTime(),
upsertContext: {
Expand Down Expand Up @@ -570,6 +571,7 @@ export async function confluenceUpdatePagesParentIdsActivity(
dataSourceConfig: dataSourceConfigFromConnector(connector),
documentId: makePageInternalId(page.pageId),
parents: parentIds,
parentId: parentIds[1],
});
},
{ concurrency: 10 }
Expand Down

0 comments on commit 6c92486

Please sign in to comment.