Fix wrong parameter name for id in get_tag()
This commit is contained in:
parent
6bcdda506a
commit
f20423280b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ async def add_tag(
|
||||||
return db_tag
|
return db_tag
|
||||||
|
|
||||||
|
|
||||||
@router.get("/{name}", response_model=TagRead)
|
@router.get("/{id}", response_model=TagRead)
|
||||||
async def get_tag(
|
async def get_tag(
|
||||||
*,
|
*,
|
||||||
id: str = Path(..., title="ID of the tag"),
|
id: str = Path(..., title="ID of the tag"),
|
||||||
|
|
Loading…
Reference in a new issue