mirror of
https://github.com/ershisan99/coolify.git
synced 2026-01-30 05:02:12 +00:00
fixes
This commit is contained in:
@@ -102,10 +102,8 @@
|
||||
: {
|
||||
Authorization: `Bearer ${$appSession.tokens.gitlab}`
|
||||
};
|
||||
if (isPublicRepository) {
|
||||
return;
|
||||
}
|
||||
const url = isPublicRepository ? `` : `/v4/projects/${projectId}/repository/tree`;
|
||||
|
||||
const url = isPublicRepository ? `/projects/${projectId}/repository/tree` : `/v4/projects/${projectId}/repository/tree`;
|
||||
const files = await get(`${apiUrl}${url}`, {
|
||||
...headers
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user