Explorar o código

Fix diagnostics deployments download URL

Fixes the API path to deployments diagnostics info by routing it to
`/deployments` instead of `/migrations`
Daniel Vincze hai 1 ano
pai
achega
27753ea228
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/stores/LogStore.ts

+ 1 - 1
src/stores/LogStore.ts

@@ -50,7 +50,7 @@ const downloadDiagnosticsIntoZip = async (zipRef: JSZip): Promise<void> => {
   const [diagnosticsResp, replicasResp, migrationsResp] = await Promise.all([
   const [diagnosticsResp, replicasResp, migrationsResp] = await Promise.all([
     apiCaller.send({ url: `${baseUrl}/diagnostics` }),
     apiCaller.send({ url: `${baseUrl}/diagnostics` }),
     apiCaller.send({ url: `${baseUrl}/replicas?show_deleted=true` }),
     apiCaller.send({ url: `${baseUrl}/replicas?show_deleted=true` }),
-    apiCaller.send({ url: `${baseUrl}/migrations?show_deleted=true` }),
+    apiCaller.send({ url: `${baseUrl}/deployments?show_deleted=true` }),
   ]);
   ]);
 
 
   zipRef.file("diagnostics.json", JSON.stringify(diagnosticsResp.data));
   zipRef.file("diagnostics.json", JSON.stringify(diagnosticsResp.data));