converted note revision protection to repository/entities

This commit is contained in:
azivner
2018-03-31 10:51:37 -04:00
parent 088fb00ca9
commit e8a5d0ae16
14 changed files with 99 additions and 98 deletions

View File

@@ -41,7 +41,7 @@ function ScriptApi(startNote, currentNote) {
this.getInstanceName = () => config.General ? config.General.instanceName : null;
this.getNoteById = async function(noteId) {
return repository.getNote(noteId);
return await repository.getNote(noteId);
};
this.getNotesWithLabel = async function (attrName, attrValue) {