소스 검색

Fix diagnostics deployments download URL

Fixes the API path to deployments diagnostics info by routing it to
`/deployments` instead of `/migrations`
Daniel Vincze 1 년 전
부모
커밋
27753ea228
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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([
     apiCaller.send({ url: `${baseUrl}/diagnostics` }),
     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));