Skip to content

Commit

Permalink
fix: correct route formatting for unblacklist_stream endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
davidemarcoli committed Feb 7, 2025
1 parent a18a66c commit 4b64e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routers/secure/items.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ async def blacklist_stream(_: Request, item_id: str, stream_id: int, db: Session
}

@router.post(
"{item_id}/streams/{stream_id}/unblacklist"
"/{item_id}/streams/{stream_id}/unblacklist"
)
async def unblacklist_stream(_: Request, item_id: str, stream_id: int, db: Session = Depends(get_db)):
item: MediaItem = (
Expand Down

0 comments on commit 4b64e0f

Please sign in to comment.