feat: Update endpoint login

This commit is contained in:
Backend IM Bot 2025-04-22 03:37:54 +00:00
parent 788574a169
commit dc969dab2d

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)