From b462ca3e89dfda7e6db8c2f78152d08cfb286598 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Mon, 1 May 2023 22:38:01 +0300 Subject: [PATCH] Patch missing function invocation for GitLab envar --- backend/src/integrations/refresh.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/integrations/refresh.ts b/backend/src/integrations/refresh.ts index 85d1a7f06..823d05e69 100644 --- a/backend/src/integrations/refresh.ts +++ b/backend/src/integrations/refresh.ts @@ -198,7 +198,7 @@ const exchangeRefreshGitLab = async ({ new URLSearchParams({ grant_type: "refresh_token", refresh_token: refreshToken, - client_id: await getClientIdGitLab, + client_id: await getClientIdGitLab(), client_secret: await getClientSecretGitLab(), redirect_uri: `${await getSiteURL()}/integrations/gitlab/oauth2/callback`, } as any),