aboutsummaryrefslogtreecommitdiff
path: root/account.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2018-01-30 16:58:35 +0100
committerStefan Majewsky <majewsky@gmx.net>2018-01-30 16:58:35 +0100
commit533e57b03a5148acb054ceeaab01689bed94a580 (patch)
treeecbb83aa729c0c2d1e88bb765a567b4aee7c3219 /account.go
parenta2700ca5e57c6466e48c644da6a0c1c93e5ab70c (diff)
downloadgo-schwift-533e57b03a5148acb054ceeaab01689bed94a580.tar.gz
implement compileHeaders
Test is still failing though...
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 {