diff --git a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx index 5f19fb474..e2acb2a9d 100644 --- a/client/admin/brewUtils/brewCleanup/brewCleanup.jsx +++ b/client/admin/brewUtils/brewCleanup/brewCleanup.jsx @@ -89,7 +89,7 @@ const BrewCleanup = ({})=>{ return {brew.title || 'No Title'} {Moment(brew.updatedAt).fromNow()} - {brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No creation date'} + {brew.lastViewed ? Moment(brew.lastViewed).fromNow() : 'No last viewed date'} {brew.googleId ? 'Google' : 'Homebrewery'} ; })} diff --git a/server/admin.api.js b/server/admin.api.js index 161570dc2..451e2aa83 100644 --- a/server/admin.api.js +++ b/server/admin.api.js @@ -53,12 +53,12 @@ export default function createAdminApi(vite) { { $match: { authors: [], - updatedAt: { $lt: Moment().subtract(9, 'years').toDate() }, - lastViewed: { $lt: Moment().subtract(9, 'years').toDate() } + updatedAt: { $lt: Moment().subtract(6, 'years').toDate() }, + lastViewed: { $lt: Moment().subtract(6, 'years').toDate() } } }, { - $limit: 1000 + $limit: 500 } ];