Move every Lists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory client/)

This commit is contained in:
Martin Filser 2023-02-19 17:32:57 +01:00
parent c2139662cd
commit 4a8dcde8ee
6 changed files with 14 additions and 14 deletions

View file

@ -6,7 +6,7 @@ function getCardsBetween(idA, idB) {
}
function getListsStrictlyBetween(id1, id2) {
return Lists.find({
return ReactiveCache.getLists({
$and: [
{ sort: { $gt: ReactiveCache.getList(id1).sort } },
{ sort: { $lt: ReactiveCache.getList(id2).sort } },