Skip to content

Commit

Permalink
set explicit error_code
Browse files Browse the repository at this point in the history
  • Loading branch information
DGaffney authored Jul 3, 2024
1 parent 43893ca commit b6c8edd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
class ErrorResponse(BaseModel):
error: Optional[str] = None
error_details: Optional[Dict] = None
error_code: int = 500

class MediaResponse(BaseModel):
hash_value: Optional[Any] = None
Expand Down

0 comments on commit b6c8edd

Please sign in to comment.