Skip to content

Commit

Permalink
back to application/json
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Mar 11, 2024
1 parent 795ced1 commit 9e09c32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command/Api/ApiBaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$this->addQueryParamsToClient($input, $acquiaCloudClient);
$this->addPostParamsToClient($input, $acquiaCloudClient);
$acquiaCloudClient->addOption('headers', [
'Accept' => 'application/hal+json',
'Accept' => 'application/json',
]);

try {
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/src/Commands/Api/ApiCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class ApiCommandTest extends CommandTestBase {

public function setUp(): void {
parent::setUp();
$this->clientProphecy->addOption('headers', ['Accept' => 'application/hal+json']);
$this->clientProphecy->addOption('headers', ['Accept' => 'application/json']);
putenv('ACQUIA_CLI_USE_CLOUD_API_SPEC_CACHE=1');
}

Expand Down

0 comments on commit 9e09c32

Please sign in to comment.