Backup not found returns 404 instead of 400 (#5479)

This commit is contained in:
Mike Degatano
2024-12-10 16:30:07 -05:00
committed by GitHub
parent 045454b597
commit 774aef74e8
3 changed files with 26 additions and 2 deletions

View File

@@ -336,6 +336,12 @@ class APIForbidden(APIError):
status = 403
class APINotFound(APIError):
"""API not found error."""
status = 404
class APIAddonNotInstalled(APIError):
"""Not installed addon requested at addons API."""