chore: fix empty super note error on exporting to markdown

This commit is contained in:
Aman Harwara
2023-07-02 21:16:55 +05:30
parent 6a6cbe57a1
commit 5839f7d075

View File

@@ -55,7 +55,7 @@ export class HeadlessSuperConverter implements SuperConverterServiceInterface {
{ discrete: true },
)
if (!content) {
if (typeof content !== 'string') {
throw new Error('Could not export note')
}