Return all the bookings for a spot specified by id. - [x] An authenticated user is required for a successful response - [x] Seed data exists in the database for bookings to be returned. - [x] Successful response includes only bookings for the specified spot - [x] If you are NOT the owner of the spot, booking data returned includes the `spotId`, `startDate`, and `endDate` for each booking - [x] If you ARE the owner of the spot, booking data returned includes the `id` `spotId`, `userId`, `startDate`, `endDate`, `createdAt`, and `updatedAt` for each booking - [x] If you ARE the owner of the spot, booking data returns associated data for `User`, including the `id`, `firstName`, and `lastName` - [x] Error response with status 404 is given when a spot does not exist with the provided `id`
Return all the bookings for a spot specified by id.
spotId,startDate, andendDatefor each bookingidspotId,userId,startDate,endDate,createdAt, andupdatedAtforeach booking
User, including theid,firstName, andlastNamethe provided
id