Skip to content

Commit

Permalink
Fix Club Subject Template call in deleteEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavberi committed May 27, 2024
1 parent 431c9bc commit ea68af7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ def deleteEvent(eventid: str, info: Info) -> EventType:
getClubNameEmail(old_event.clubid, email=True, name=False),
]
mail_subject = CLUB_EVENT_SUBJECT.safe_substitute(
event_id=old_event.code,
event=old_event.name,
eventlink=getEventLink(old_event.code),
)
mail_body = DELETE_EVENT_BODY_FOR_CLUB.safe_substitute(
club=old_event.clubid,
Expand All @@ -586,8 +586,8 @@ def deleteEvent(eventid: str, info: Info) -> EventType:
getClubNameEmail(old_event.clubid, email=True, name=False),
]
mail_subject = CLUB_EVENT_SUBJECT.safe_substitute(
event_id=old_event.code,
event=old_event.name,
eventlink=getEventLink(old_event.code),
)
mail_body = DELETE_EVENT_BODY_FOR_CLUB.safe_substitute(
club=old_event.clubid,
Expand Down

0 comments on commit ea68af7

Please sign in to comment.