Skip to content

Commit

Permalink
fix(import): 🐛 fix notion api error when null page children
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNZL committed Jul 20, 2022
1 parent 5154f75 commit 25d6388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup/import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export async function exportToNotion(): Promise<void | IFetchedAssignment[]> {
? markdownToBlocks(
new TurndownService().turndown(this.description),
)
: null,
: [],
};
}
}
Expand Down

0 comments on commit 25d6388

Please sign in to comment.