aqualinkorg / aqualink-app

Aqualink.org Ocean Monitoring Application
MIT License
34 stars 12 forks source link

Failed to update site info when site has a spotter #875

Closed ericboucher closed 1 year ago

ericboucher commented 1 year ago

Trying to edit location for site https://aqualink.org/sites/3400 results in "something went wrong". It looks like the put endpoint is expecting a sensorId but the frontend is not passing it. The sensorId probably shouldn't be required and we should simply update the fields we are passing data for.

Screenshot 2023-06-21 at 1 54 17 PM