mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 09:08:09 +08:00
make sure a response is returned
This commit is contained in:
parent
27966d47f9
commit
f2f688a64a
1 changed files with 3 additions and 0 deletions
|
@ -59,6 +59,9 @@ class IncomingWebhookEndpoint
|
|||
return $response;
|
||||
}
|
||||
}
|
||||
|
||||
$response = ['success' => false];
|
||||
return rest_ensure_response($response);
|
||||
}
|
||||
|
||||
public function url() : string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue