refactor: wip

This commit is contained in:
Mauricio Siu
2024-12-07 16:47:39 -06:00
parent c8b5889414
commit f47335efe5
9 changed files with 4070 additions and 5 deletions

View File

@@ -417,7 +417,7 @@ export const testGitlabConnection = async (
const gitlabProvider = await findGitlabById(gitlabId);
const response = await fetch(
`https://gitlab.com/api/v4/projects?membership=true&owned=true&page=${0}&per_page=${100}`,
`${gitlabProvider.gitlabUrl}/api/v4/projects?membership=true&owned=true&page=${0}&per_page=${100}`,
{
headers: {
Authorization: `Bearer ${gitlabProvider.accessToken}`,