diff --git a/src/widgets/history/ui/historyTableRow.tsx b/src/widgets/history/ui/historyTableRow.tsx index 8f9ec6c..5ac50b9 100644 --- a/src/widgets/history/ui/historyTableRow.tsx +++ b/src/widgets/history/ui/historyTableRow.tsx @@ -49,7 +49,7 @@ export const HistoryTableRow: React.FC< const payment = useMutation({ mutationKey: ['payment', item.order_id], mutationFn: ({ order_id }: { order_id: number }) => - apiRequest<{ payment_link: string }>('POST', links.payment(order_id)), + apiRequest<{ payment_link: string }>('POST', links.demo_pay(order_id)), onSuccess: (res) => { window.open(res.data.payment_link, '_self'); setIsPaymentOpen(false);