From f20423280b2ac4984e6f1c1744cca91894ac7d30 Mon Sep 17 00:00:00 2001 From: linuskmr Date: Sat, 25 Dec 2021 18:46:53 +0100 Subject: [PATCH] Fix wrong parameter name for id in get_tag() --- backend/src/routes/tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/routes/tags.py b/backend/src/routes/tags.py index cf1b118..2149137 100644 --- a/backend/src/routes/tags.py +++ b/backend/src/routes/tags.py @@ -37,7 +37,7 @@ async def add_tag( return db_tag -@router.get("/{name}", response_model=TagRead) +@router.get("/{id}", response_model=TagRead) async def get_tag( *, id: str = Path(..., title="ID of the tag"),