diff --git a/app/shared/constructeurUtils.ts b/app/shared/constructeurUtils.ts index b041cc7..7082653 100644 --- a/app/shared/constructeurUtils.ts +++ b/app/shared/constructeurUtils.ts @@ -155,9 +155,7 @@ export const buildConstructeurRequestPayload = >( delete next.constructeurs; delete next.constructeurIds; - if (ids.length) { - next.constructeurs = ids.map((id) => `/api/constructeurs/${id}`); - } + next.constructeurs = ids.map((id) => `/api/constructeurs/${id}`); return next as T & { constructeurs?: string[] }; };