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 = {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user