# HG changeset patch # User Mikael Berthe # Date 1536317020 -7200 # Node ID 8538eaf18ce5cd0b81713e078680d7024bd0445a # Parent 80c81e9b77b4baa22af1b184f2be17e7ade37bf8 Fix endpoint for update_credentials (broken by 9dcadf72) diff -r 80c81e9b77b4 -r 8538eaf18ce5 account.go --- a/account.go Thu Sep 06 11:43:44 2018 +0200 +++ b/account.go Fri Sep 07 12:43:40 2018 +0200 @@ -499,7 +499,7 @@ w.Close() // Prepare the request - req, err := mc.prepareRequest(endPoint, rest.Patch, params) + req, err := mc.prepareRequest("v1/"+endPoint, rest.Patch, params) if err != nil { return nil, errors.Wrap(err, "prepareRequest failed") }