issues
search
gracecizma
/
HeirBnB
0
stars
0
forks
source link
Get all of the Current User's Bookings
#25
Open
gracecizma
opened
1 year ago
gracecizma
commented
1 year ago
Return all the bookings that the current user has made.
[x] An authenticated user is required for a successful response
[x] Successful response includes only bookings created by the current user
[x] Booking data returned includes the id, spotId, userId, startDate, endDate, createdAt, and updatedAt
[x] Booking data returns associated data for Spot, including the id, ownerId, address, city, state, country, lat, lng, name, price and previewImage
Return all the bookings that the current user has made.