fix: raise counting

This commit is contained in:
zkldi
2023-03-24 13:16:52 +00:00
parent 01dfa74228
commit ea6598d2d0
+3 -1
View File
@@ -411,7 +411,9 @@ export async function GetEnumDistForFolderAsOf(
$match: {
chartID: { $in: chartIDs },
userID,
timeAdded: { $lt: beforeTime },
// we deliberately use not gte as that includes null
// rather than "lt" which skips over null.
timeAdded: { $not: { $gte: beforeTime } },
},
},
{