aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/account.go b/account.go
index 8193cb6..bbca9c5 100644
--- a/account.go
+++ b/account.go
@@ -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()