Просмотр исходного кода

Fix get gitlab procfile contents api url

jnfrati 4 лет назад
Родитель
Сommit
a9c8948502
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      dashboard/src/shared/api.tsx

+ 1 - 1
dashboard/src/shared/api.tsx

@@ -570,7 +570,7 @@ const getGitlabProcfileContents = baseApi<
 >(
   "GET",
   ({ project_id, integration_id, owner, name, branch }) =>
-    `/projects/${project_id}/integrations/gitlab/${integration_id}/${owner}/${name}/${encodeURIComponent(
+    `/api/projects/${project_id}/integrations/gitlab/${integration_id}/repos/${owner}/${name}/${encodeURIComponent(
       branch
     )}/procfile`
 );