From 533e57b03a5148acb054ceeaab01689bed94a580 Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Tue, 30 Jan 2018 16:58:35 +0100 Subject: implement compileHeaders Test is still failing though... --- account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'account.go') 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 { -- cgit v1.2.3