diff --git a/CHANGELOG.md b/CHANGELOG.md index 1db16f0..093672c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ ### Added - Add APCu support in cachetool recipe +- Fixed Sentry deployment recipe, updated to work with latest deployer/deployer ## 6.2.0 [6.1.0...6.2.0](https://github.com/deployphp/recipes/compare/6.1.0...6.2.0) diff --git a/recipe/sentry.php b/recipe/sentry.php index 71a393d..424cbc1 100644 --- a/recipe/sentry.php +++ b/recipe/sentry.php @@ -82,7 +82,6 @@ static function (&$value) use ($config) { $releasesApiUrl ) ->header(sprintf('Authorization: Bearer %s', $config['token'])) - ->header('Content-Type: application/json') ->body($releaseData) ->getJson(); @@ -113,7 +112,6 @@ static function (&$value) use ($config) { $releasesApiUrl . $response['version'] . '/deploys/' ) ->header(sprintf('Authorization: Bearer %s', $config['token'])) - ->header('Content-Type: application/json') ->body($deployData) ->getJson();