Web Service exposing Thoth functions to the RESTful worlds
GNU General Public License v3.0
8
stars
18
forks
source link
`/python/package/versions` endpoint should return 400 error if given package is not in database #1748
Closed
mayaCostantini closed 2 years ago
Describe the bug API endpoint
/python/package/versions
returns a200
status code when querying for a package which does not exist in the database:Environment: production.
To Reproduce Go to
/python/package/versions
and query for any package not present in the knowledge base.Expected behavior Return a
400
error when no versions of a package were found in the database for a given environment.