From 15836de95faa42d98bb9846cb71300004d659b4f Mon Sep 17 00:00:00 2001 From: Dicken Date: Wed, 8 Jul 2026 12:29:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20K=C3=B6Pi=20-=20korrekter=20Pfad=20templ?= =?UTF-8?q?ate.shelfContents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/tools/koepi/routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/tools/koepi/routes.js b/backend/src/tools/koepi/routes.js index b1125fa..a8df527 100644 --- a/backend/src/tools/koepi/routes.js +++ b/backend/src/tools/koepi/routes.js @@ -196,7 +196,8 @@ async function scrapeProspekte() { if (!nextData) continue; const pp = nextData.props?.pageProps; - const contents = pp?.pageInformation?.template?.content?.shelfContents?.contents + const contents = pp?.pageInformation?.template?.shelfContents?.contents + || pp?.pageInformation?.template?.content?.shelfContents?.contents || pp?.shelfContents?.contents || [];