Skip to content

Commit

Permalink
Remove content type header
Browse files Browse the repository at this point in the history
Backend no longer requires it, makes us flexible
for yaml and json
  • Loading branch information
michaelmdresser committed Nov 20, 2023
1 parent 703f25c commit 8a040bd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/query/prediction_speccost.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ func QuerySpecCost(p SpecCostParameters) (SpecCostResponse, error) {
p.Ctx,
p.PredictSpecCostPath,
p.QueryParams,
map[string]string{
"Content-Type": "application/yaml",
},
nil,
p.SpecBytes,
)
if err != nil {
Expand Down

0 comments on commit 8a040bd

Please sign in to comment.