mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 05:32:41 +00:00
exclude last fix
This commit is contained in:
@@ -10,11 +10,13 @@ const archive = {
|
|||||||
const limit = 2000;
|
const limit = 2000;
|
||||||
const brews = await HomebrewModel.find({
|
const brews = await HomebrewModel.find({
|
||||||
title: { $regex: req.params.query, $options: 'i' },
|
title: { $regex: req.params.query, $options: 'i' },
|
||||||
|
published: true
|
||||||
|
},
|
||||||
|
{
|
||||||
editId:0,
|
editId:0,
|
||||||
googleId:0,
|
googleId:0,
|
||||||
text:0,
|
text:0,
|
||||||
textBin:0,
|
textBin:0,
|
||||||
published: true
|
|
||||||
})
|
})
|
||||||
.limit(limit)
|
.limit(limit)
|
||||||
.maxTimeMS(10000)
|
.maxTimeMS(10000)
|
||||||
|
|||||||
Reference in New Issue
Block a user