|
@@ -58,7 +58,7 @@ |
|
|
block discarded – undo |
|
58
|
58
|
|
|
59
|
59
|
public function sendData($data) |
|
60
|
60
|
{ |
|
61
|
|
- $options = ['Authorization' => 'Basic ' . base64_encode( $this->getUsername() . ':' . $this->getPassword() )]; |
|
|
61
|
+ $options = ['Authorization' => 'Basic ' . base64_encode($this->getUsername() . ':' . $this->getPassword())]; |
|
62
|
62
|
$httpResponse = $this->httpClient->request('POST', $this->getEndpoint(), $options, $data->asXML()); |
|
63
|
63
|
|
|
64
|
64
|
return $this->createResponse($httpResponse); |
Please login to merge, or discard this patch.