diff --git a/endpoints/login.post.py b/endpoints/login.post.py index 585d5be..8368795 100644 --- a/endpoints/login.post.py +++ b/endpoints/login.post.py @@ -1,10 +1,10 @@ -from fastapi import APIRouter, HTTPException +from fastapi import APIRouter, Depends, HTTPException users = [] # In-memory storage router = APIRouter() -@router.post("/login") +@router.post("/login") async def login( username: str = "student", password: str = "password"