diff options
Diffstat (limited to 'provider.go')
-rw-r--r-- | provider.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/provider.go b/provider.go index 08fd993..b0866c3 100644 --- a/provider.go +++ b/provider.go @@ -104,7 +104,7 @@ func DialProvider(directory string) (*Provider, error) { return p, parseJson(resp, &p.Directory) } -func (p Provider) post(uri string, s Signer, v interface{}) (*http.Response, error) { +func (p Provider) post(uri string, s *Signer, v interface{}) (*http.Response, error) { msg, err := json.Marshal(v) if err != nil { return nil, err |