Skip to content

Commit

Permalink
Update docstrings for handle_attended and handle_paid to reflect changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jotjern committed Jan 15, 2025
1 parent c41bde9 commit 2dbee62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/events/dashboard/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def event_ajax_handler(event: Event, request):

def handle_attended(attendee: Attendee, value: bool):
"""
Toggle attending-status of an attendee between attending and not attending
Set attending-status of an attendee to attending or not attending
"""
attendee.attended = value
attendee.save()
Expand All @@ -55,7 +55,7 @@ def handle_attended(attendee: Attendee, value: bool):

def handle_paid(attendee: Attendee, value: bool):
"""
Toggle paid status of an attendee between paid and not paid
Set paid status of an attendee to paid or not paid
"""
attendee.paid = value
attendee.save()
Expand Down

0 comments on commit 2dbee62

Please sign in to comment.