Skip to content

Commit

Permalink
MetaStore: Fix download URL for metadata documents in 'Search' tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
VolkerHartmann committed Feb 26, 2024
1 parent c49fdb1 commit 67981a6
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 67981a6

Please sign in to comment.