🐛 Fix REST response for manual connection

This commit is contained in:
Philipp Stracker 2025-02-12 13:10:41 +01:00
parent 5e6f73d30b
commit e09ad9d74d
No known key found for this signature in database

View file

@ -174,7 +174,7 @@ class AuthenticationRestEndpoint extends RestEndpoint {
} }
$account = $this->authentication_manager->get_account_details(); $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 ); return $this->return_success( $response );
} }