We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80b2d44 commit d650a7cCopy full SHA for d650a7c
1 file changed
api/json_request_body.go
@@ -68,6 +68,9 @@ func (j *jsonReqBody) Close() error {
68
return io.ErrClosedPipe
69
}
70
j.closed = true
71
+ if j.pr == nil {
72
+ return nil
73
+ }
74
return j.pr.Close()
75
76
0 commit comments