fix: Fixed issue with Simplenote importer where empty notes would not be imported (#2793)

This commit is contained in:
Mae B. Morella
2024-01-24 13:10:52 -05:00
committed by GitHub
parent cfa2e75adc
commit cf0a7a6bf1

View File

@@ -12,7 +12,8 @@ type SimplenoteData = {
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const isSimplenoteEntry = (entry: any): boolean => entry.id && entry.content && entry.creationDate && entry.lastModified
const isSimplenoteEntry = (entry: any): boolean =>
entry.id && entry.content != undefined && entry.creationDate && entry.lastModified
export class SimplenoteConverter implements Converter {
constructor() {}