Upgrade dependencies and patch known vulnerabilities
Bump fastapi (starlette 1.8.0), uvicorn, python-multipart, pydantic-settings, pytz, email-validator, and slowapi. Move nginx and mysql image pins to current digests. Rename deprecated HTTP_422 status constant. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
5b7d689453
commit
c9833eb810
3 files changed
+10
-10
No files matched your search
@@ -55,7 +55,7 @@ async def create_entry(
|
||||
current_user: User = Depends(get_current_user),
|
||||
):
|
||||
if body.entry_type == EntryType.add and not body.bourbon_name:
|
||||
raise HTTPException(status_code=status.HTTP_422_UNPROCESSABLE_ENTITY, detail="bourbon_name is required for add entries")
|
||||
raise HTTPException(status_code=status.HTTP_422_UNPROCESSABLE_CONTENT, detail="bourbon_name is required for add entries")
|
||||
|
||||
entry = Entry(
|
||||
user_id=current_user.id,
|
||||
|
||||
Reference in new issue
Block a user