aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'account.go')
-rw-r--r--account.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.go b/account.go
index af7698b..e38704a 100644
--- a/account.go
+++ b/account.go
@@ -124,7 +124,7 @@ func (a *Account) Invalidate() {
func (a *Account) Post(headers AccountHeaders, opts *RequestOptions) error {
_, err := Request{
Method: "POST",
- Options: compileHeaders(headers, opts),
+ Options: compileHeaders(&headers, opts),
ExpectStatusCodes: []int{204},
}.Do(a.client)
if err == nil {