mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
consistency checks fixes
This commit is contained in:
@@ -117,7 +117,6 @@ class Note extends Entity {
|
||||
return JSON.parse(content);
|
||||
}
|
||||
|
||||
/** @returns {Promise} */
|
||||
setContent(content) {
|
||||
if (content === null || content === undefined) {
|
||||
throw new Error(`Cannot set null content to note ${this.noteId}`);
|
||||
|
||||
Reference in New Issue
Block a user