Skip to content

Commit

Permalink
chore: woocommerce linter issue (#36837)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-aga-r authored Aug 27, 2023
1 parent 25e78fb commit 91927f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _order(*args, **kwargs):
event = "created"
# Ignore the test ping issued during WooCommerce webhook configuration
# Ref: https://github.com/woocommerce/woocommerce/issues/15642
if frappe.request.data.decode('utf-8').startswith('webhook_id='):
if frappe.request.data.decode("utf-8").startswith("webhook_id="):
return "success"
elif frappe.request and frappe.request.data:
verify_request()
Expand Down

0 comments on commit 91927f2

Please sign in to comment.