Skip to content

Commit

Permalink
fix CustomEventParticipantNotification for placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
jeriox committed Mar 15, 2024
1 parent 5137a83 commit c2ef6d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ephios/core/services/notifications/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,9 @@ def send(cls, event: Event, content: str):
"event_id": event.id,
"content": content,
"event_title": event.title,
"event_url": participant.reverse_event_detail(event),
"event_url": (
participant.reverse_event_detail(event) if participant.email else None
),
},
)
)
Expand Down

0 comments on commit c2ef6d2

Please sign in to comment.