From 015d651eea390cf7b83359b1bcc72d25bd8e7757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 2 Feb 2024 16:44:21 +0100 Subject: [PATCH] fix: type error --- webapp-next/utils/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({