Skip to content

Commit 12bdafe

Browse files
committed
Merge remote-tracking branch 'origin/1.1' into 2.0
2 parents 43edd7a + e1ea430 commit 12bdafe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Classes/Transfer/RequestService.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ public function request($method, ElasticSearchClient $client, $path = null, $arg
9090
$requestUri->setUsername($uri->getUsername());
9191
$requestUri->setPassword($uri->getPassword());
9292
}
93-
93+
94+
$request->setHeader('Content-Type', 'application/json');
9495
$response = $this->browser->sendRequest($request);
9596

9697
return new Response($response, $this->browser->getLastRequest());

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This project connects the Flow Framework to Elasticsearch; enabling two main fun
99

1010
Related package:
1111

12-
* [Flowpack.ElasticSearch.ContentRepositoryAdaptor](https://github.com/Flowpack/Flowpack.ElasticSearch.ContentRepositoryAdaptor): An adapter to support the Neos Content Repository
12+
* [Flowpack.ElasticSearch.ContentRepositoryAdaptor](https://github.com/Flowpack/Flowpack.ElasticSearch.ContentRepositoryAdaptor): An adapter to support the Neos Content Repository
1313
indexing and searching
1414

1515
More documentation:

0 commit comments

Comments
 (0)