fix: KöPi - korrekter Pfad template.shelfContents

This commit is contained in:
2026-07-08 12:29:13 +02:00
parent ead13bf17a
commit 15836de95f

View File

@@ -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
|| [];