From 89487ec7dd24b1873c4ac0c84d9880480e84d2cb Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Fri, 7 Mar 2025 11:52:20 +0100 Subject: [PATCH] feat: Update endpoint /login --- app/api/endpoints/login.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/api/endpoints/login.py b/app/api/endpoints/login.py index 6ed4dac..f323165 100644 --- a/app/api/endpoints/login.py +++ b/app/api/endpoints/login.py @@ -1,7 +1,7 @@ -from fastapi import APIRouter - -router = APIRouter() - -@router.post("/login") -async def login(username: str, password: str): - return {"message": "User logged in successfully", "username": username} \ No newline at end of file +from fastapi import APIRouter + +router = APIRouter() + +@router.post("/login") +async def login(username: str, password: str): + return {"message": "User logged in successfully!", "username": username} \ No newline at end of file