Skip to content

Commit

Permalink
Less info in discovery endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoluteur committed Dec 18, 2023
1 parent c79d91d commit d297a7c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions js/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ const entityAPIs = (model, protocol, baseUrl, fullDescription) => {
let mi = {
id: model.id,
title: model.title || model.label,
list: pathToModel,
charts,
csv: pathToModel + "?format=csv",
lovs,
};
if (!model.noStats) {
mi.stats = pathToModel + "/stats";
}
if (fullDescription) {
mi.list = pathToModel;
mi.charts = charts;
mi.csv = pathToModel + "?format=csv";
mi.lovs = lovs;
if (!model.noStats) {
mi.stats = pathToModel + "/stats";
}
mi.crud = {
create: {
method: "POST",
Expand Down

0 comments on commit d297a7c

Please sign in to comment.