Skip to content

Commit adf54a6

Browse files
committed
Fix frontend type issue
1 parent a6a8c7c commit adf54a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/hooks/useAPIs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export const useListTemplatesQuery = (serviceName: string) =>
118118
export const useSendManagerServicesQuery = () =>
119119
useSuspenseQuery({
120120
queryKey: QUERY_KEYS.LIST_SEND_MANAGER_SERVICE,
121-
queryFn: () => LocalRequest<SendManagerListResponse>({ route: 'api/v1/send-manager', method: 'GET' }),
121+
queryFn: () => LocalRequest<SendManagerListResponse[]>({ route: 'api/v1/send-manager', method: 'GET' }),
122122
})
123123
// ==================== Mutation Hooks ====================
124124
export const useCreateTemplateMutation = () =>

0 commit comments

Comments
 (0)