Skip to content

Commit

Permalink
remove logger KeyError /customer/webhooks/whatsapp/message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalloor, Eric Abraham committed Apr 4, 2023
1 parent c5f1a51 commit 14dd6fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion customer/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ def whatsapp_webhook(request):
# ).delete()
# signature = request.headers.get("X-Hub-Signature-256", "")
payload = json.loads(request.body)
logger.info('Webhook Payload :{0}'.format(payload))
# print(payload)
# mac = hmac.new(bytes(WHATSAPP_WEBHOOK_TOKEN.encode(), 'UTF-8'), payload, digestmod=hashlib.sha256)
# secret = WHATSAPP_WEBHOOK_TOKEN.encode()
Expand Down

0 comments on commit 14dd6fa

Please sign in to comment.