fixed computing payment form's submit action

This commit is contained in:
2025-11-26 09:04:14 +03:30
parent 6c48dd4a05
commit 98f783ee44

View File

@@ -81,6 +81,9 @@ export default function ComputePaymentForm({ mutate, onClose, rowData }) {
try {
request(`${PRIVACY_ADMIN_ACTION_API}/computing_payment/${rowData.id}`, "post", {
data,
}).then(() => {
onClose();
mutate();
});
} catch (error) {
console.error("Error submitting payment:", error);