mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
* Add require_live flag to event_view decorator Refs #330 * Use new require_live flag in stripe webhook
This commit is contained in:
committed by
Raphael Michel
parent
9bce339575
commit
7a8493cae3
@@ -16,7 +16,7 @@ logger = logging.getLogger('pretix.plugins.stripe')
|
||||
|
||||
@csrf_exempt
|
||||
@require_POST
|
||||
@event_view
|
||||
@event_view(require_live=False)
|
||||
def webhook(request, *args, **kwargs):
|
||||
event_json = json.loads(request.body.decode('utf-8'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user