TUN-3670: Update Teamnet API gateway prefixes

This commit is contained in:
Adam Chalmers 2021-01-11 13:40:44 -06:00
parent 94ca4f98dd
commit 119d96cdc1
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ func NewRESTClient(baseURL, accountTag, zoneTag, authToken, userAgent string, lo
if err != nil {
return nil, errors.Wrap(err, "failed to create account level endpoint")
}
accountRoutesEndpoint, err := url.Parse(fmt.Sprintf("%s/accounts/%s/routes", baseURL, accountTag))
accountRoutesEndpoint, err := url.Parse(fmt.Sprintf("%s/accounts/%s/teamnet/routes", baseURL, accountTag))
if err != nil {
return nil, errors.Wrap(err, "failed to create route account-level endpoint")
}