0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 15:52:39 +00:00

exclude last fix

This commit is contained in:
Víctor Losada Hernández
2024-01-28 00:55:22 +01:00
parent 9366284e1d
commit 81f26e0892

View File

@@ -10,11 +10,13 @@ const archive = {
const limit = 2000;
const brews = await HomebrewModel.find({
title: { $regex: req.params.query, $options: 'i' },
published: true
},
{
editId:0,
googleId:0,
text:0,
textBin:0,
published: true
})
.limit(limit)
.maxTimeMS(10000)