v1.0.0
This commit is contained in:
@@ -5,11 +5,10 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func (l Locations) GetUrl(ctx context.Context) (string, error) {
|
||||
url := "/locations/getUrl"
|
||||
prefix := "/cloudapi"
|
||||
// GetURL gets the portal URL
|
||||
func (l Locations) GetURL(ctx context.Context) (string, error) {
|
||||
url := "/cloudapi/locations/getUrl"
|
||||
|
||||
url = prefix + url
|
||||
res, err := l.client.DecortApiCall(ctx, http.MethodPost, url, nil)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
||||
Reference in New Issue
Block a user