frontend attribute cache refactoring WIP

This commit is contained in:
zadam
2020-01-25 13:27:23 +01:00
parent 60c908cd63
commit 7cad386a56
3 changed files with 140 additions and 30 deletions

View File

@@ -157,12 +157,6 @@ async function deleteRelation(req) {
}
}
async function getTargetRelations(req) {
const note = await repository.getNote(req.params.noteId);
return await note.getTargetRelations();
}
module.exports = {
updateNoteAttributes,
updateNoteAttribute,
@@ -171,6 +165,5 @@ module.exports = {
getValuesForAttribute,
getEffectiveNoteAttributes,
createRelation,
deleteRelation,
getTargetRelations
deleteRelation
};