From d78c46184986476be360928c5c32493c68bb07bf Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 16 Jan 2024 10:26:14 +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 fcaca56..138c634 100644 --- a/subscriptions/views.py +++ b/subscriptions/views.py @@ -29,7 +29,7 @@ def app_store_webhook(request): decoded = request.body.decode('utf-8') # Parse the JSON payload - fulljson = json.loads(data) + fulljson = json.loads(decoded) signedPayload = fulljson['signedPayload'] root_certificates = load_root_certificates()