diff --git a/services/github/pod-github/src/platform.ts b/services/github/pod-github/src/platform.ts index 6671bf4129..0a127318c4 100644 --- a/services/github/pod-github/src/platform.ts +++ b/services/github/pod-github/src/platform.ts @@ -807,7 +807,8 @@ export class PlatformWorker { } async getWorkspaces (): Promise { - return this.integrations.map((it) => it.workspace) + // Since few integeration could map into one workspace, we need to deduplicate + return Array.from(new Set(this.integrations.map((it) => it.workspace))) } checkedWorkspaces = new Set()