From 8941213c8d94f3ad84e07e467e78105dc7fed734 Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 8 Nov 2024 23:07:20 -0600 Subject: Mainly auth re-thinking - just in thought --- app/routes/links_routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/routes/links_routes.py') diff --git a/app/routes/links_routes.py b/app/routes/links_routes.py index 833c699..874f3c2 100644 --- a/app/routes/links_routes.py +++ b/app/routes/links_routes.py @@ -16,7 +16,7 @@ from app.util.authentication import get_current_user router = APIRouter(prefix="/links", tags=["links"]) -@router.get("/", summary="Get all of the links associated with your account") +@router.get("", summary="Get all of the links associated with your account") async def get_links( current_user: Annotated[User, Depends(get_current_user)], db=Depends(get_db), @@ -35,7 +35,7 @@ async def get_links( return links -@router.post("/", summary="Create a new link") +@router.post("", summary="Create a new link") async def create_link( url: URLSchema, current_user: Annotated[User, Depends(get_current_user)], -- cgit v1.2.3-70-g09d2