Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
fix: Fixes router method
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Dec 4, 2023
1 parent 5827f25 commit 2ce65be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/api_v1/endpoints/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def fetch_guidelines_from_repo(
return [elt for elt in await guidelines.fetch_all(("repo_id", repo_id))]


@router.get("/{repo_id}/waitlist", status_code=status.HTTP_200_OK)
@router.post("/{repo_id}/waitlist", status_code=status.HTTP_200_OK)
async def add_repo_to_waitlist(
repo_id: int = Path(..., gt=0),
repos: RepositoryCRUD = Depends(get_repo_crud),
Expand Down

0 comments on commit 2ce65be

Please sign in to comment.