exposed searchForNotes to backend script API

This commit is contained in:
zadam
2019-03-20 22:51:13 +01:00
parent fc13e1fa6a
commit 3311c6336c
6 changed files with 253 additions and 74 deletions

View File

@@ -102,7 +102,8 @@ class Note extends Entity {
}
if (this.isStringNote()) {
this.noteContent.content = this.noteContent.content.toString("UTF-8");
this.noteContent.content = this.noteContent.content === null
? "" : this.noteContent.content.toString("UTF-8");
}
}