We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a63ff05 + a8c45a6 commit fae578cCopy full SHA for fae578c
1 file changed
volume.go
@@ -77,7 +77,7 @@ func (r *VolumeService) NewFromArchive(ctx context.Context, body io.Reader, para
77
opts = slices.Concat(r.Options, opts)
78
opts = append([]option.RequestOption{option.WithRequestBody("application/gzip", body)}, opts...)
79
path := "volumes/from-archive"
80
- err = requestconfig.ExecuteNewRequest(ctx, http.MethodPost, path, nil, &res, opts...)
+ err = requestconfig.ExecuteNewRequest(ctx, http.MethodPost, path, params, &res, opts...)
81
return
82
}
83
0 commit comments