Commit 99a8cafc authored by Torstein Nicolaysen's avatar Torstein Nicolaysen
Browse files

DEICH-5445 return not found when service has enabled 'dontShowOnWeb'

parent 534c6fd2
......@@ -92,6 +92,11 @@ routes.get("/:id", async (request, response) => {
const json = await res.json();
if (json.dontShowOnWeb === true) {
// Remove internal data
const cleanedResult = searchParser.processLibraryService(json);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment