Various AT Protocol integrations with obsidian
20
fork

Configure Feed

Select the types of activity you want to include in your feed.

pckt: Fix undefined value (#16)

authored by

Isaac Corbrey and committed by
GitHub
6d8ad789 778ab113

+1 -1
+1 -1
src/lib/markdown/pckt.ts
··· 240 240 export function pcktContentToMarkdown(content: BlogPcktContent.Main): string { 241 241 const mdastNodes: RootContent[] = []; 242 242 243 - for (const block of content.items) { 243 + for (const block of content.items ?? []) { 244 244 const node = pcktBlockToMdast(block); 245 245 if (node) { 246 246 mdastNodes.push(node);