feat: Update endpoint /login

This commit is contained in:
Backend IM Bot 2025-03-07 18:50:47 +00:00
parent b92e35db55
commit 76ca27b209

View File

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