0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-05 14:33:07 +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 }, share : { shareId: id },
admin : { admin : {
$or : [ $or : [
{ editId: { $regex: id, $options: 'i' } }, { editId: id },
{ shareId: { $regex: id, $options: 'i' } }, { shareId: id },
] } ] }
}; };