Ver Fonte

pre-prod push

jusrhee há 5 anos atrás
pai
commit
ec57a83a6a
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      dashboard/src/shared/api.tsx

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

@@ -105,7 +105,7 @@ const rollbackChart = baseApi<{
   id: number,
   id: number,
   name: string,
   name: string,
   cluster_id: number,
   cluster_id: number,
-  }>('POST', pathParams => {
+}>('POST', pathParams => {
   let { id, name, cluster_id } = pathParams;
   let { id, name, cluster_id } = pathParams;
   return `/api/projects/${id}/releases/${name}/rollback?cluster_id=${cluster_id}`;
   return `/api/projects/${id}/releases/${name}/rollback?cluster_id=${cluster_id}`;
 });
 });
@@ -118,7 +118,7 @@ const upgradeChartValues = baseApi<{
   id: number,
   id: number,
   name: string,
   name: string,
   cluster_id: number,
   cluster_id: number,
-  }>('POST', pathParams => {
+}>('POST', pathParams => {
   let { id, name, cluster_id } = pathParams;
   let { id, name, cluster_id } = pathParams;
   return `/api/projects/${id}/releases/${name}/upgrade?cluster_id=${cluster_id}`;
   return `/api/projects/${id}/releases/${name}/upgrade?cluster_id=${cluster_id}`;
 });
 });
@@ -199,7 +199,7 @@ const createECR = baseApi<{
 const getImageRepos = baseApi<{}, {   
 const getImageRepos = baseApi<{}, {   
   project_id: number,
   project_id: number,
   registry_id: number,
   registry_id: number,
- }>('GET', pathParams => {
+}>('GET', pathParams => {
   return `/api/projects/${pathParams.project_id}/registries/${pathParams.registry_id}/repositories`;
   return `/api/projects/${pathParams.project_id}/registries/${pathParams.registry_id}/repositories`;
 });
 });