Fix wrong parameter name for id in get_tag()

This commit is contained in:
linuskmr 2021-12-25 18:46:53 +01:00
parent 6bcdda506a
commit f20423280b

View file

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