fix: bookingsResult paid check
parent
73aa61d532
commit
cde395b1fa
|
@ -139,7 +139,7 @@ function PaymentChecker(props: PaymentCheckerProps) {
|
||||||
bookingUid: props.booking.uid,
|
bookingUid: props.booking.uid,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (bookingsResult.paid) {
|
if (bookingsResult.booking.paid) {
|
||||||
showToast("Payment successful", "success");
|
showToast("Payment successful", "success");
|
||||||
|
|
||||||
const params: {
|
const params: {
|
||||||
|
|
Loading…
Reference in New Issue