Skip to content

Commit ae441b4

Browse files
committed
GRAL-2200: fix content-type
1 parent 331ddf6 commit ae441b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controllers/DealsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public function updateADeal(
571571
//prepare headers
572572
$_headers = array (
573573
'user-agent' => BaseController::USER_AGENT,
574-
'Accept' => 'application/json',
574+
'content-type' => 'application/json; charset=utf-8',
575575
'Authorization' => sprintf('Bearer %1$s', Configuration::$oAuthToken->accessToken)
576576
);
577577

src/Controllers/OrganizationsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public function updateAnOrganization(
434434
//prepare headers
435435
$_headers = array (
436436
'user-agent' => BaseController::USER_AGENT,
437-
'Accept' => 'application/json',
437+
'content-type' => 'application/json; charset=utf-8',
438438
'Authorization' => sprintf('Bearer %1$s', Configuration::$oAuthToken->accessToken)
439439
);
440440

0 commit comments

Comments
 (0)