From f94ee8c299ecccce18db9316ede1943140124a80 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:50:25 -0600 Subject: [PATCH] refactor: update --- packages/server/src/utils/providers/gitlab.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/utils/providers/gitlab.ts b/packages/server/src/utils/providers/gitlab.ts index ff5f66fed..b99e64e3d 100644 --- a/packages/server/src/utils/providers/gitlab.ts +++ b/packages/server/src/utils/providers/gitlab.ts @@ -350,6 +350,8 @@ export const cloneRawGitlabRepository = async (entity: Compose) => { const basePath = COMPOSE_PATH; const outputPath = join(basePath, appName, "code"); await recreateDirectory(outputPath); + const gitlabUrl = gitlabProvider.gitlabUrl; + // What happen with oauth in self hosted instances? const repoclone = `gitlab.com/${gitlabPathNamespace}.git`; const cloneUrl = `https://oauth2:${gitlabProvider?.accessToken}@${repoclone}`;