Skip to content

Commit 782425b

Browse files
committed
fix migration wizard CA download
1 parent 996747d commit 782425b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

web/src/pages/MigrationWizardPage/steps/MigrationWizardExternalUrlSslConfigStep.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ export const MigrationWizardExternalUrlSslConfigStep = () => {
7171
}, []);
7272

7373
const { data: sslInfoData } = useQuery({
74-
queryKey: ['external_ssl_info'],
75-
queryFn: () => api.initial_setup.getExternalSslInfo(),
74+
queryKey: ['migration', 'external_ssl_info'],
75+
queryFn: () => api.migration.getExternalSslInfo(),
7676
enabled: sslType === 'defguard_ca',
7777
select: (response) => response.data,
7878
});

web/src/pages/MigrationWizardPage/steps/MigrationWizardInternalUrlSslConfigStep.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export const MigrationWizardInternalUrlSslConfigStep = () => {
2828
}, []);
2929

3030
const { data: sslInfoData } = useQuery({
31-
queryKey: ['internal_ssl_info'],
32-
queryFn: () => api.initial_setup.getInternalSslInfo(),
31+
queryKey: ['migration', 'internal_ssl_info'],
32+
queryFn: () => api.migration.getInternalSslInfo(),
3333
enabled: sslType === 'defguard_ca',
3434
select: (response) => response.data,
3535
});

0 commit comments

Comments
 (0)