diff --git a/sda-admin/dataset/dataset.go b/sda-admin/dataset/dataset.go index 88080ed87..d16f74cc6 100644 --- a/sda-admin/dataset/dataset.go +++ b/sda-admin/dataset/dataset.go @@ -46,7 +46,7 @@ func Release(apiURI, token, datasetID string) error { if err != nil { return err } - parsedURL.Path = path.Join(parsedURL.Path, "dataset/release", datasetID) + parsedURL.Path = path.Join(parsedURL.Path, "dataset/release") + "/" + datasetID jsonBody := []byte("{}") _, err = helpers.PostRequest(parsedURL.String(), token, jsonBody)