changeset 238 | 1c0042e76902 |
parent 235 | 263da7f71f03 |
--- a/endorsements.go Thu Sep 06 00:34:44 2018 +0200 +++ b/endorsements.go Thu Sep 06 01:07:40 2018 +0200 @@ -15,7 +15,7 @@ endPoint := "endorsements" method := rest.Get var accountList []Account - if err := mc.apiCall(endPoint, method, nil, lopt, nil, &accountList); err != nil { + if err := mc.apiCall("v1/"+endPoint, method, nil, lopt, nil, &accountList); err != nil { return nil, err } return accountList, nil