mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-06-22 04:58:40 +00:00
updated fields to have proper data
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ export default function createAdminApi(vite) {
|
|||||||
updatedAt : { $lt: Moment().subtract(30, 'days').toDate() },
|
updatedAt : { $lt: Moment().subtract(30, 'days').toDate() },
|
||||||
lastViewed : { $lt: Moment().subtract(30, 'days').toDate() }
|
lastViewed : { $lt: Moment().subtract(30, 'days').toDate() }
|
||||||
} },
|
} },
|
||||||
{ $project: { _id: 1, textBinSize: { $binarySize: '$textBin' } } },
|
{ $project: { _id: 1, textBinSize: { $binarySize: '$textBin' }, updatedAt: 1, lastViewed: 1} },
|
||||||
{ $match: { textBinSize: { $lt: 140 } } },
|
{ $match: { textBinSize: { $lt: 140 } } },
|
||||||
{ $limit: 300 }
|
{ $limit: 300 }
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user