Selaa lähdekoodia

Fix get gitlab procfile contents api url

jnfrati 4 vuotta sitten
vanhempi
sitoutus
a9c8948502
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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`
 );