mirror of
https://github.com/pretix/pretix.git
synced 2025-12-20 16:32:26 +00:00
Overhaul of our check-in features (#1647)
This commit is contained in:
@@ -170,7 +170,7 @@ def register_default_webhook_events(sender, **kwargs):
|
||||
|
||||
@app.task(base=TransactionAwareTask)
|
||||
def notify_webhooks(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.organizer:
|
||||
return # We need to know the organizer
|
||||
|
||||
Reference in New Issue
Block a user