diff --git a/web/dashboard/src/components/reports/payment-corrections-tab.tsx b/web/dashboard/src/components/reports/payment-corrections-tab.tsx index f75a78f..1e1e7be 100644 --- a/web/dashboard/src/components/reports/payment-corrections-tab.tsx +++ b/web/dashboard/src/components/reports/payment-corrections-tab.tsx @@ -312,7 +312,7 @@ function CorrectionDialog({ const mutation = useMutation({ mutationFn: () => apiPost(`/api/cafes/${cafeId}/orders/${order.id}/payments/corrections`, { - voidPaymentIds: [...voidIds], + voidPaymentIds: Array.from(voidIds), replacements: replacements.map((r) => ({ method: r.method, amount: Number(r.amount),