diff --git a/server/admin.api.js b/server/admin.api.js index 06e64c635..d0f00944d 100644 --- a/server/admin.api.js +++ b/server/admin.api.js @@ -37,7 +37,7 @@ const junkBrewQuery = HomebrewModel.find({ /* Search for brews that aren't compressed (missing the compressed text field) */ const uncompressedBrewQuery = HomebrewModel.find({ - 'textBin' : null + 'text' : { '$exists' : true } }).lean().limit(1000).select('_id'); router.get('/admin/cleanup', mw.adminOnly, (req, res)=>{