@@ -62,7 +62,7 @@ func (r *ProductService) Get(ctx context.Context, id string, opts ...option.Requ
6262
6363func (r * ProductService ) Update (ctx context.Context , id string , body ProductUpdateParams , opts ... option.RequestOption ) (err error ) {
6464 opts = slices .Concat (r .Options , opts )
65- opts = append ([]option.RequestOption {option .WithHeader ("Accept" , "" )}, opts ... )
65+ opts = append ([]option.RequestOption {option .WithHeader ("Accept" , "*/* " )}, opts ... )
6666 if id == "" {
6767 err = errors .New ("missing required id parameter" )
6868 return
@@ -95,7 +95,7 @@ func (r *ProductService) ListAutoPaging(ctx context.Context, query ProductListPa
9595
9696func (r * ProductService ) Archive (ctx context.Context , id string , opts ... option.RequestOption ) (err error ) {
9797 opts = slices .Concat (r .Options , opts )
98- opts = append ([]option.RequestOption {option .WithHeader ("Accept" , "" )}, opts ... )
98+ opts = append ([]option.RequestOption {option .WithHeader ("Accept" , "*/* " )}, opts ... )
9999 if id == "" {
100100 err = errors .New ("missing required id parameter" )
101101 return
@@ -107,7 +107,7 @@ func (r *ProductService) Archive(ctx context.Context, id string, opts ...option.
107107
108108func (r * ProductService ) Unarchive (ctx context.Context , id string , opts ... option.RequestOption ) (err error ) {
109109 opts = slices .Concat (r .Options , opts )
110- opts = append ([]option.RequestOption {option .WithHeader ("Accept" , "" )}, opts ... )
110+ opts = append ([]option.RequestOption {option .WithHeader ("Accept" , "*/* " )}, opts ... )
111111 if id == "" {
112112 err = errors .New ("missing required id parameter" )
113113 return
0 commit comments