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

Commit f330fd5

Browse files
petermeinantonmedv
authored andcommitted
Added content type headers to sentry requests (#205)
1 parent fa582e4 commit f330fd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipe/sentry.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ static function (&$value) use ($config) {
8282
$releasesApiUrl
8383
)
8484
->header(sprintf('Authorization: Bearer %s', $config['token']))
85+
->header('Content-Type: application/json')
8586
->body($releaseData)
8687
->getJson();
8788

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

0 commit comments

Comments
 (0)