refactor: remove unused frontend_address from payment payload in Paying component
This commit is contained in:
@@ -46,8 +46,7 @@ function Paying({ setStep, appointmentId }) {
|
|||||||
const paymentPayload = {
|
const paymentPayload = {
|
||||||
payment_method: selectedBank,
|
payment_method: selectedBank,
|
||||||
bundle: "appointment",
|
bundle: "appointment",
|
||||||
entity_reference_id: appointmentId,
|
entity_reference_id: appointmentId
|
||||||
frontend_address: typeof window !== 'undefined' ? window.location.origin : ''
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const response = await request.postPayment(paymentPayload);
|
const response = await request.postPayment(paymentPayload);
|
||||||
|
|||||||
Reference in New Issue
Block a user