diff options
Diffstat (limited to 'account.go')
| -rw-r--r-- | account.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ func (a *Account) Create(headers AccountHeaders, opts *RequestOptions) error { Headers: headersToHTTP(headers), Options: opts, ExpectStatusCodes: []int{201, 202}, + DrainResponseBody: true, }.Do(a.client) if err == nil { a.Invalidate() |
