mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
🐛 Fix REST response for manual connection
This commit is contained in:
parent
5e6f73d30b
commit
e09ad9d74d
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class AuthenticationRestEndpoint extends RestEndpoint {
|
|||
}
|
||||
|
||||
$account = $this->authentication_manager->get_account_details();
|
||||
$response = $this->sanitize_for_javascript( $this->response_map, $account );
|
||||
$response = $this->sanitize_for_javascript( $account, $this->response_map );
|
||||
|
||||
return $this->return_success( $response );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue