feat: Update endpoint login

This commit is contained in:
Backend IM Bot 2025-04-21 18:13:00 +00:00
parent d314c488d9
commit 2e801f96d1

View File

@ -12,7 +12,7 @@ class UserAuth(BaseModel):
username: str
password: str
@router.post("/login")
@router.post("/login"
async def login(
user_data: UserAuth,
db: Session = Depends(get_db)