Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Added content type headers to sentry requests (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
petermein authored and antonmedv committed Jan 8, 2019
1 parent fa582e4 commit f330fd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipe/sentry.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ static function (&$value) use ($config) {
$releasesApiUrl
)
->header(sprintf('Authorization: Bearer %s', $config['token']))
->header('Content-Type: application/json')
->body($releaseData)
->getJson();

Expand Down Expand Up @@ -112,6 +113,7 @@ static function (&$value) use ($config) {
$releasesApiUrl . $response['version'] . '/deploys/'
)
->header(sprintf('Authorization: Bearer %s', $config['token']))
->header('Content-Type: application/json')
->body($deployData)
->getJson();

Expand Down

0 comments on commit f330fd5

Please sign in to comment.