0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-10 18:18:41 +00:00

Fix new getBrew access type

This commit is contained in:
G.Ambatte
2024-10-25 11:27:28 +13:00
parent ac2de613c5
commit 63f6f6d3c6
+2 -2
View File
@@ -92,8 +92,8 @@ const api = {
share : { shareId: id },
admin : {
$or : [
{ editId: { $regex: req.params.id, $options: 'i' } },
{ shareId: { $regex: req.params.id, $options: 'i' } },
{ editId: { $regex: id, $options: 'i' } },
{ shareId: { $regex: id, $options: 'i' } },
] }
};