Skip to content

Commit fc33197

Browse files
Merge pull request #610 from harsh26shah03/patch-1
Fix: title key can't exist inside title, rich_text should be the key
2 parents 74fa2cb + a1fdefd commit fc33197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/notion-compat/src/convert-block.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export function convertBlock({
227227
if (page) {
228228
if (page.properties.title) {
229229
compatBlock.properties.title = convertRichText(
230-
(page.properties.title as any).title
230+
(page.properties.title as any).rich_text
231231
)
232232
}
233233

0 commit comments

Comments
 (0)