Skip to content

Commit c4503f6

Browse files
committed
fix
1 parent fcaba64 commit c4503f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/src/Bridge/Neo4j/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ private function request(string $method, string $endpoint, array $payload = []):
8787
$url = \sprintf('%s/%s', $this->endpointUrl, $endpoint);
8888

8989
$response = $this->httpClient->request($method, $url, [
90+
'auth_basic' => base64_encode(\sprintf('%s:%s', $this->username, $this->password)),
9091
'headers' => [
9192
'Accept' => 'application/json',
92-
'Authorization' => \sprintf('Basic %s', base64_encode(\sprintf('%s:%s', $this->username, $this->password))),
9393
],
9494
'json' => $payload,
9595
]);

0 commit comments

Comments
 (0)