From 081f975ff9a7a25770289705dd2cb212031d1056 Mon Sep 17 00:00:00 2001 From: Lukas Bockstaller Date: Tue, 24 Feb 2026 10:39:03 +0100 Subject: [PATCH] add missing slug fields (#5925) --- src/pretix/api/webhooks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pretix/api/webhooks.py b/src/pretix/api/webhooks.py index 7a94fd495..39a5a613b 100644 --- a/src/pretix/api/webhooks.py +++ b/src/pretix/api/webhooks.py @@ -183,6 +183,7 @@ class ParametrizedGiftcardWebhookEvent(ParametrizedWebhookEvent): return { 'notification_id': logentry.pk, 'issuer_id': logentry.organizer_id, + 'issuer_slug': logentry.organizer.slug, 'giftcard': giftcard.pk, 'action': logentry.action_type, } @@ -197,6 +198,7 @@ class ParametrizedGiftcardTransactionWebhookEvent(ParametrizedWebhookEvent): return { 'notification_id': logentry.pk, 'issuer_id': logentry.organizer_id, + 'issuer_slug': logentry.organizer.slug, 'acceptor_id': logentry.parsed_data.get('acceptor_id'), 'acceptor_slug': logentry.parsed_data.get('acceptor_slug'), 'giftcard': giftcard.pk,