mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
next for throw
This commit is contained in:
@@ -481,7 +481,7 @@ const api = {
|
||||
await HomebrewModel.deleteOne({ editId: id });
|
||||
return next();
|
||||
}
|
||||
return next();
|
||||
throw(err);
|
||||
}
|
||||
|
||||
let brew = req.brew;
|
||||
|
||||
Reference in New Issue
Block a user