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"),