Skip to content

Commit

Permalink
Fix Orch Tester (#315)
Browse files Browse the repository at this point in the history
Subgraph requires now Header with Content-Type.
  • Loading branch information
leszko authored Aug 16, 2023
1 parent beb8739 commit 9b92a07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/orch-tester/orch_tester.go
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,7 @@ func (s *streamerClient) getOrchestrators() ([]*orch, error) {
return nil, err
}
req, err := http.NewRequest("POST", s.subgraph, bytes.NewBuffer(input))
req.Header.Add("Content-Type", "application/json")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9b92a07

Please sign in to comment.