mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-23 18:47:11 +00:00
handle getid uncatched error
This commit is contained in:
1 parent
34ee1853e1
commit
f604d0a41f
1 file changed
+1
@@ -481,6 +481,7 @@ const api = {
|
||||
await HomebrewModel.deleteOne({ editId: id });
|
||||
return next();
|
||||
}
|
||||
return next();
|
||||
}
|
||||
|
||||
let brew = req.brew;
|
||||
|
||||
Reference in new issue
Block a user