feat: added handling of using same connection with different projects

This commit is contained in:
Sheen Capadngan
2024-10-15 03:37:11 +08:00
parent faf2c6df90
commit 73382c5363
15 changed files with 287 additions and 38 deletions
@@ -1557,7 +1557,7 @@ const syncSecretsGitHub = async ({
selected_repositories_url?: string | undefined;
}
const authMetadata = IntegrationAuthMetadataSchema.parse(integrationAuth.metadata);
const authMetadata = IntegrationAuthMetadataSchema.parse(integrationAuth.metadata || {});
let octokit: Octokit;
const appCfg = getConfig();