We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6a8c7c commit adf54a6Copy full SHA for adf54a6
frontend/src/hooks/useAPIs.ts
@@ -118,7 +118,7 @@ export const useListTemplatesQuery = (serviceName: string) =>
118
export const useSendManagerServicesQuery = () =>
119
useSuspenseQuery({
120
queryKey: QUERY_KEYS.LIST_SEND_MANAGER_SERVICE,
121
- queryFn: () => LocalRequest<SendManagerListResponse>({ route: 'api/v1/send-manager', method: 'GET' }),
+ queryFn: () => LocalRequest<SendManagerListResponse[]>({ route: 'api/v1/send-manager', method: 'GET' }),
122
})
123
// ==================== Mutation Hooks ====================
124
export const useCreateTemplateMutation = () =>
0 commit comments