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