Migrated from Redmine #992 | Author: Kristian Selnæs
Status: Rejected | Priority: Normal | Created: 2022-12-22
The endpoint /admin/locations returns locations with a list of it’s associated providers. However, this list includes deleted providers as well. We have a set of deleted providers. All these are returned as providers for our location with id 1.
When we query /admin/providers, only the active providers are returned. When we query for one of the deleted ones explicitly, e.g. /admin/providers/3, it returns a provider with is_active: false