Skip to content

Commit

Permalink
[Microsoft] Fix: don't delete everything when the user deselects a fo…
Browse files Browse the repository at this point in the history
…lder (#10454)

* [Microsoft] Fix: don't delete everything when the user deselects a folder

Description
---
The title says it all.

Risk
---
anti-risk

Deploy
---
connectors

* fix fix
  • Loading branch information
philipperolet authored Jan 31, 2025
1 parent 79a5743 commit ee3d399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/microsoft/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ export class MicrosoftConnectorManager extends BaseConnectorManager<null> {
);
if (nodeIdsToDelete.length > 0) {
await MicrosoftRootResource.batchDelete({
resourceIds: Object.keys(permissions),
resourceIds: nodeIdsToDelete,
connectorId: connector.id,
});
}
Expand Down

0 comments on commit ee3d399

Please sign in to comment.