From ff46b3facd884c8fe51281d0c23d77f6d32a1913 Mon Sep 17 00:00:00 2001 From: Michael Baudis <675030+mbaudis@users.noreply.github.com> Date: Tue, 3 Oct 2023 16:16:57 +0200 Subject: [PATCH] ... --- src/hooks/api.js | 2 +- src/pages/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hooks/api.js b/src/hooks/api.js index a7c7d6f6..e4c3c11e 100644 --- a/src/hooks/api.js +++ b/src/hooks/api.js @@ -25,7 +25,7 @@ export const SITE_DEFAULTS = { NEWSLINK: "https://docs.progenetix.org/news", ORGSITELINK: "https://info.baudisgroup.org" } -export const MAX_HISTO_SAMPLES = 1000 +// export const MAX_HISTO_SAMPLES = 1000 export const THISYEAR = new Date().getFullYear() export const BIOKEYS = ["icdoMorphology", "icdoTopography", "histologicalDiagnosis"] diff --git a/src/pages/index.js b/src/pages/index.js index 40edf9a8..13e34610 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -122,7 +122,7 @@ export const getStaticProps = async () => { return { props: { progenetixStats: dbstatsReply, - ncitCountResponse: ncitCountReply.response.results.length, + ncitCountResponse: ncitCountReply.responseSummary.numTotalResults, subsetsResponse: subsetsReply } }