CAVaccineInventory / vial

The Django application powering calltheshots.us

Home Page:https://vial.calltheshots.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/api/updateLocations should be able to set provider to null

simonw opened this issue · comments

Currently that API, documented at https://vial.calltheshots.us/api/docs#post-apiupdatelocations, requires you to send a provider_name and provider_type - but there's no mechanism to set provider back to null.

Originally posted by @simonw in #705 (comment)

I'm going to offer "provider_null": true as the option here - and you get an error if you also send a provider_name or provider_type.