Move every CardComments.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory server/)

This commit is contained in:
Martin Filser 2023-02-25 20:10:45 +01:00
parent 25989b9736
commit 59ee616304

View file

@ -483,7 +483,7 @@ function buildSelector(queryParams) {
const attachments = Attachments.find({ 'original.name': regex });
const comments = CardComments.find(
const comments = ReactiveCache.getCardComments(
{ text: regex },
{ fields: { cardId: 1 } },
);