From 8324e0e3fe4d4f4a110902ba0f798c01830fc92b Mon Sep 17 00:00:00 2001 From: Dicken Date: Wed, 8 Jul 2026 12:38:51 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20K=C3=B6Pi=20-=20pageInformation.shelfCon?= =?UTF-8?q?tents.contents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/tools/koepi/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/tools/koepi/routes.js b/backend/src/tools/koepi/routes.js index a8df527..6f29d9f 100644 --- a/backend/src/tools/koepi/routes.js +++ b/backend/src/tools/koepi/routes.js @@ -196,9 +196,9 @@ async function scrapeProspekte() { if (!nextData) continue; const pp = nextData.props?.pageProps; - const contents = pp?.pageInformation?.template?.shelfContents?.contents + const contents = pp?.pageInformation?.shelfContents?.contents + || pp?.pageInformation?.template?.shelfContents?.contents || pp?.pageInformation?.template?.content?.shelfContents?.contents - || pp?.shelfContents?.contents || []; for (const item of contents) {