getBookings() is forbidden

Hey Dafna, try to use async-await

export async function getMyBookings() {
    return await bookings.queryBookings().find();
}

Or:

export function getMyBookings() {
   return bookings.queryBookings()
    .find()
    .then((results) => {
        return results
     })
}

Let me know if it’s solved the issue.

B.