Skip to content

Commit

Permalink
fix a small oopsies in IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Dec 16, 2024
1 parent 7bb0307 commit b85a02e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions connectors/src/connectors/confluence/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,7 @@ export class ConfluenceConnectorManager extends BaseConnectorManager<null> {
},
});

await deleteFolderNode({
dataSourceConfig,
folderId: makeSpaceInternalId(internalId),
});
await deleteFolderNode({ dataSourceConfig, folderId: internalId });

removedSpaceIds.push(confluenceId);
} else if (permission === "read") {
Expand All @@ -373,8 +370,8 @@ export class ConfluenceConnectorManager extends BaseConnectorManager<null> {

await upsertFolderNode({
dataSourceConfig,
folderId: makeSpaceInternalId(internalId),
parents: [makeSpaceInternalId(internalId)],
folderId: internalId,
parents: [internalId],
title: confluenceSpace?.name ?? confluenceId,
});

Expand Down

0 comments on commit b85a02e

Please sign in to comment.