Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elver5041 committed Nov 4, 2024
1 parent 937c726 commit 3e5b7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/impl/Event/router_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def count_unregistered_hackers(event_id: int,
return event_service.count_hackers_unregistered(event_id)


@router.get("/confirm-assistance/")
@router.get("/confirm_assistance/")
def confirm_assistance(token: AssistenceToken = Depends(JWTBearer())):
"""
Confirm assistance of a hacker to an event
Expand All @@ -231,7 +231,7 @@ def confirm_assistance(token: AssistenceToken = Depends(JWTBearer())):
return {"success": True}


@router.get("/force-confirm-assistance/{event_id}/{user_id}")
@router.get("/force/confirm_assistance/{event_id}/{user_id}")
def force_confirm_assistance(event_id: int,
user_id: int,
token: BaseToken = Depends(JWTBearer())):
Expand Down

0 comments on commit 3e5b7a9

Please sign in to comment.