Skip to content

Commit

Permalink
fix: Fixed issue with Simplenote importer where empty notes would not…
Browse files Browse the repository at this point in the history
… be imported (#2793)
  • Loading branch information
mmorella-dev authored Jan 24, 2024
1 parent cfa2e75 commit cf0a7a6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit cf0a7a6

Please sign in to comment.