madeintandem / staffing-strategy

Small React project to make it easy to visualize possible upcoming staffing scenarios and plan for multiple possible futures at once
https://tandem-staffing.herokuapp.com/
1 stars 2 forks source link

Use Airtable PATCH instead of PUT #5

Open noraglinden opened 2 years ago

noraglinden commented 2 years ago

Airtable's API replaces the entire record with a PUT meaning we have to be careful to include non-changed data in our request to make sure we don't accidentally clear it out.

If we used a PATCH it would update only the attributes we passed in.