Skip to content

Commit ef79b49

Browse files
authored
Bugfix wrong header
Bugfix wrong header
1 parent a264dac commit ef79b49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Api/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ public function delete($url, array $options = [])
234234
if ($token = $this->fetch('token')) {
235235
$this->bearer($token);
236236
}
237-
$this->addHeader('Content-Type', 'application/ld+json');
238-
$this->addHeader('Accept', 'application/ld+json');
237+
$this->addHeader('Content-Type', 'application/json');
238+
$this->addHeader('Accept', 'application/json');
239239

240240
try {
241241
$response = $this->request->delete(sprintf('%s.json?%s', $this->getRealUrl($url), http_build_query(array_merge([$this->paramKey => $this->apiKey], $options))), [

0 commit comments

Comments
 (0)