fix: KöPi - korrekter Pfad template.shelfContents
This commit is contained in:
@@ -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
|
||||
|| [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user