fixes and optimizations

This commit is contained in:
zadam
2020-12-14 22:12:26 +01:00
parent 8b99f065d5
commit c949dcb449
11 changed files with 102 additions and 23 deletions

View File

@@ -32,8 +32,7 @@ function index(req, res) {
}
function getAppCssNoteIds() {
return (attributeService.getNotesWithLabels(['appCss', 'appTheme']))
.map(note => note.noteId);
return attributeService.getNoteIdsWithLabels(['appCss', 'appTheme']);
}
module.exports = {