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:
@@ -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 },
|
||||||
] }
|
] }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user