0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Remove getBrew admin regex search

This commit is contained in:
G.Ambatte
2024-11-10 19:23:42 +13:00
parent a29aca32e7
commit bd26f02ddb

View File

@@ -92,8 +92,8 @@ const api = {
share : { shareId: id },
admin : {
$or : [
{ editId: { $regex: id, $options: 'i' } },
{ shareId: { $regex: id, $options: 'i' } },
{ editId: id },
{ shareId: id },
] }
};