fix : page de modification reception qui crash en prod

This commit is contained in:
tristan
2026-02-26 10:28:00 +01:00
parent c48cc477da
commit 59d76c5f14
4 changed files with 236 additions and 57 deletions
+2 -2
View File
@@ -62,7 +62,7 @@ export const useWeighing = ({
})
} else {
await createWeight({
reception: `api/receptions/${reception.value.id}`,
reception: `/api/receptions/${reception.value.id}`,
type: mode,
dsd: baseDsd,
weight: baseWeight,
@@ -146,7 +146,7 @@ export const useWeighingShipment = ({
})
} else {
await createWeight({
shipment: `api/shipments/${shipment.value.id}`,
shipment: `/api/shipments/${shipment.value.id}`,
type: modeShipment,
dsd: baseDsd,
weight: baseWeight,