From 43846efb0e653575add78bc7b372ee583d117b1b Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 16 Jan 2024 10:10:26 +0100 Subject: [PATCH] fix --- subscriptions/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscriptions/views.py b/subscriptions/views.py index 63d20bf..dfcbfa2 100644 --- a/subscriptions/views.py +++ b/subscriptions/views.py @@ -29,7 +29,7 @@ def app_store_webhook(request): #fulljson = json.loads(data) # signedPayload = fulljson['signedPayload'] - decoded_payload = json.loads(base64.b64decode(data)) + decoded_payload = json.loads(base64.b64decode(decoded)) # Now you can access the decoded data type = decoded_payload.get('notification_type')