Move every Checklists.findOne(idOrFirstObjectSelector, options) to the ReactiveCache

This commit is contained in:
Martin Filser 2023-02-04 17:14:15 +01:00
parent 92733b24d1
commit 5552c17eba
3 changed files with 7 additions and 7 deletions

View file

@ -303,7 +303,7 @@ if (Meteor.isServer) {
const paramChecklistId = req.params.checklistId;
const paramCardId = req.params.cardId;
Authentication.checkBoardAccess(req.userId, paramBoardId);
const checklist = Checklists.findOne({
const checklist = ReactiveCache.getChecklist({
_id: paramChecklistId,
cardId: paramCardId,
});