mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
handle getid uncatched error
This commit is contained in:
@@ -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