converting note properties to methods

This commit is contained in:
zadam
2021-05-17 22:35:36 +02:00
parent a5d702b143
commit 2451596e8c
19 changed files with 48 additions and 48 deletions

View File

@@ -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`];
}