Skip to content

Commit

Permalink
Merge pull request #47 from VolkerHartmann/fixUrlforDownloadingMetada…
Browse files Browse the repository at this point in the history
…taDocument4MetaStore

MetaStore: Fix download URL for metadata documents in 'Search' tab.
  • Loading branch information
VolkerHartmann authored Apr 10, 2024
2 parents 05d008a + 67981a6 commit 349a655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions elastic-search-metastore.html
Original file line number Diff line number Diff line change
Expand Up @@ -814,14 +814,14 @@ <h1 class="ui block header">

$.ajax({
type: "GET",
url: ajaxBaseUrl + "metadata/" + id,
url: ajaxBaseUrl + id,
contentType: "application/json",
headers: headers,
success: function (output, status, xhr) {
resolve(output);
},
error: function (result) {
let message = "Failed to obtain metadata " + ajaxBaseUrl + "metadata/" + id + ". (HTTP " + result.status + ")";
let message = "Failed to obtain metadata " + ajaxBaseUrl + id + ". (HTTP " + result.status + ")";
reject(message);
}
});
Expand Down

0 comments on commit 349a655

Please sign in to comment.