diff --git a/webapp-next/utils/api.ts b/webapp-next/utils/api.ts index 89d6b8f..10b1345 100644 --- a/webapp-next/utils/api.ts +++ b/webapp-next/utils/api.ts @@ -83,7 +83,7 @@ export function useAssociateCauses() { }; } -export function useDepartments(departments: number[]) { +export function useDepartments(departments: string[]) { const params = { index: 'cm2d_departments', filters: JSON.stringify({