refactor: remove unused frontend_address from payment payload in Paying component

This commit is contained in:
hamed
2025-12-02 15:03:27 +03:30
parent 95e55776c3
commit e6cb27a714
+1 -2
View File
@@ -46,8 +46,7 @@ function Paying({ setStep, appointmentId }) {
const paymentPayload = {
payment_method: selectedBank,
bundle: "appointment",
entity_reference_id: appointmentId,
frontend_address: typeof window !== 'undefined' ? window.location.origin : ''
entity_reference_id: appointmentId
};
const response = await request.postPayment(paymentPayload);