Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #123 refactored event_signup_routes #133

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions routes/event_signup_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Sing current user up to an event
@event_signup_router.post("/{event_id}", response_model=EventRead)
def signup_route(
def event_signup_route(
event_id: int,
data: EventSignupCreate,
me: Annotated[User_DB, Permission.member()],
Expand All @@ -41,7 +41,7 @@ def signup_route(


@event_signup_router.delete("/{event_id}", response_model=EventRead)
def signoff_route(
def event_signoff_route(
event_id: int,
data: EventSignupDelete,
me: Annotated[User_DB, Permission.member()],
Expand All @@ -62,7 +62,7 @@ def signoff_route(


@event_signup_router.patch("/{event_id}", response_model=EventRead)
def update_signup(
def update_event_signup_route(
event_id: int,
data: EventSignupUpdate,
me: Annotated[User_DB, Permission.member()],
Expand Down