mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
converting note properties to methods
This commit is contained in:
@@ -195,7 +195,7 @@ function changeTitle(req) {
|
||||
return [404, `Note ${noteId} has not been found`];
|
||||
}
|
||||
|
||||
if (!note.isContentAvailable) {
|
||||
if (!note.isContentAvailable()) {
|
||||
return [400, `Note ${noteId} is not available for change`];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user