Skip to content

Commit fb2538b

Browse files
authored
Merge pull request #57 from stainless-sdks/bruce-hill-patch-1
fix: response body reading
2 parents 2f9d764 + 5af6877 commit fb2538b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cmd/buildtargetoutput.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ func handleBuildsTargetOutputsRetrieve(ctx context.Context, cmd *cli.Command) er
8585
context.TODO(),
8686
params,
8787
option.WithMiddleware(cc.AsMiddleware()),
88+
option.WithResponseBodyInto(&resBytes),
8889
)
8990
if err != nil {
9091
return err

0 commit comments

Comments
 (0)