[x] An authenticated user is required for a successful response
[x] Only the owner of the spot is authorized to edit
[x] Spot record is updated in the database after request
[x] Spot data returned includes the id, ownerId, address, city,
state, country, lat, lng, name, description, price, createdAt,
and updatedAt
[x] Error response with status 400 is given when body validations for the
address, city, state, country, lat, lng, name, description, or price are violated
[x] Error response with status 404 is given when a spot does not exist with
the provided id
Updates and returns an existing spot.
id
,ownerId
,address
,city
,state
,country
,lat
,lng
,name
,description
,price
,createdAt
, andupdatedAt
address
,city
,state
,country
,lat
,lng
,name
,description
, orprice
are violatedid