Skip to content

Commit

Permalink
add content-type header (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: Krisztián Gödrei <[email protected]>
  • Loading branch information
trapacska and godrei authored Nov 15, 2024
1 parent 757c8d2 commit 47e940d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bitrise/bitrise.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ func (app App) StartBuild(workflow string, buildParams json.RawMessage, buildNum
return StartResponse{}, nil
}
req.Header.Add("Authorization", "token "+app.AccessToken)
req.Header.Add("Content-Type", "application/json")

retryReq, err := retryablehttp.FromRequest(req)
if err != nil {
Expand Down

0 comments on commit 47e940d

Please sign in to comment.