feat: Update endpoint /login

This commit is contained in:
Backend IM Bot 2025-03-09 10:30:49 +00:00
parent 70c50cf820
commit 97d69b3b0c

View File

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