Skip to content

Commit

Permalink
Add Easystack Enhanced header
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetreewu committed Mar 9, 2022
1 parent e7decc2 commit afb9aaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func NewDefaultClient() (*Client, error) {
func NewClient(config *openapi.Configuration) (*Client, error) {
rawURL, _ := config.Servers.URL(0, nil)

config.DefaultHeader["Enhanced"] = "enabled"
client := &Client{
Req: req.New(),
APIClient: openapi.NewAPIClient(config),
Expand Down

0 comments on commit afb9aaf

Please sign in to comment.