Skip to content

Commit 0b10ad1

Browse files
authored
Merge pull request #72 from Flowpack/2.0
Upmerge 2.0 to master
2 parents 53b197c + 12bdafe commit 0b10ad1

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)