Skip to content

Commit

Permalink
[microsoft] Fixes in parents and initial deltas (#6507)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdraier authored Jul 25, 2024
1 parent 6f4319a commit fe0c83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connectors/src/connectors/microsoft/temporal/activities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export async function groupRootItemsByDriveId(nodeIds: string[]) {
}

export async function populateDeltas(connectorId: ModelId, nodeIds: string[]) {
const groupedItems = groupRootItemsByDriveId(nodeIds);
const groupedItems = await groupRootItemsByDriveId(nodeIds);
const connector = await ConnectorResource.fetchById(connectorId);

if (!connector) {
Expand Down
2 changes: 1 addition & 1 deletion connectors/src/connectors/microsoft/temporal/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export async function getParents({
startSyncTs,
})),
]
: [internalId];
: [internalId, parentInternalId];
}

/* Fetching parent's parent id queries the db for a resource; since those
Expand Down

0 comments on commit fe0c83a

Please sign in to comment.