Closed hevp closed 4 years ago
Community API returns 500 on unknown community, but should return a 404 instead.
Example: /api/communities/invalid-community-id
/api/communities/invalid-community-id
Check
https://github.com/EUDAT-B2SHARE/b2share/blob/520326cd8eccc5e1e14bebc60a4db0c7a50732e4/b2share/modules/communities/views.py#L59
Community API returns 500 on unknown community, but should return a 404 instead.
Example:
/api/communities/invalid-community-id