mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Overhaul of our check-in features (#1647)
This commit is contained in:
@@ -16,7 +16,7 @@ from pretix.helpers.urls import build_absolute_uri
|
||||
@app.task(base=TransactionAwareTask)
|
||||
@scopes_disabled()
|
||||
def notify(logentry_id: int):
|
||||
logentry = LogEntry.all.get(id=logentry_id)
|
||||
logentry = LogEntry.all.select_related('event', 'event__organizer').get(id=logentry_id)
|
||||
if not logentry.event:
|
||||
return # Ignore, we only have event-related notifications right now
|
||||
types = get_all_notification_types(logentry.event)
|
||||
|
||||
Reference in New Issue
Block a user