feat: Update endpoint /login

This commit is contained in:
Backend IM Bot 2025-03-07 19:24:17 +00:00
parent 36123ec904
commit 41514cadc8

View File

@ -1,7 +1,7 @@
from fastapi import APIRouter from fastapi import APIRouter
router = APIRouter() router = APIRouter()
@router.post("/login") @router.post("/login")
async def login(username: str, password: str): async def login(username: str, password: str):
return {"message": "User logged in successfully", "username": username} return {"message": "User logged in successfully",