mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
chore: woocommerce linter issue (#36837)
This commit is contained in:
@@ -43,7 +43,7 @@ def _order(*args, **kwargs):
|
|||||||
event = "created"
|
event = "created"
|
||||||
# Ignore the test ping issued during WooCommerce webhook configuration
|
# Ignore the test ping issued during WooCommerce webhook configuration
|
||||||
# Ref: https://github.com/woocommerce/woocommerce/issues/15642
|
# 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"
|
return "success"
|
||||||
elif frappe.request and frappe.request.data:
|
elif frappe.request and frappe.request.data:
|
||||||
verify_request()
|
verify_request()
|
||||||
|
|||||||
Reference in New Issue
Block a user