fix: bookingsResult paid check

feat/alby
Roland Bewick 2023-09-27 12:03:11 +07:00
parent 73aa61d532
commit cde395b1fa
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function PaymentChecker(props: PaymentCheckerProps) {
bookingUid: props.booking.uid,
});
if (bookingsResult.paid) {
if (bookingsResult.booking.paid) {
showToast("Payment successful", "success");
const params: {