Move every Cards.findOne() to the ReactiveCache

This commit is contained in:
Martin Filser 2022-12-16 16:36:47 +01:00
parent a182482cfb
commit 3b65113d05
24 changed files with 96 additions and 87 deletions

View file

@ -205,7 +205,7 @@ if (isSandstorm && Meteor.isServer) {
if (doc.cardId) {
path = `b/sandstorm/libreboard/${doc.cardId}`;
Cards.findOne(doc.cardId).members.map(subscribedUser);
ReactiveCache.getCard(doc.cardId).members.map(subscribedUser);
}
if (doc.memberId) {