aboutsummaryrefslogtreecommitdiff
path: root/app/routes/links_routes.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-08 23:07:20 -0600
committerParker <contact@pkrm.dev>2024-11-08 23:07:20 -0600
commit8941213c8d94f3ad84e07e467e78105dc7fed734 (patch)
tree0ae32555276432b4ddb04a7548ffe2e40904f897 /app/routes/links_routes.py
parent3cde652d52985365d1daf370065753f54e765f9d (diff)
Mainly auth re-thinking - just in thought
Diffstat (limited to 'app/routes/links_routes.py')
-rw-r--r--app/routes/links_routes.py4
1 files changed, 2 insertions, 2 deletions
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)],