mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 03:37:04 +00:00
next for throw
This commit is contained in:
1 parent
f604d0a41f
commit
3f29eb227a
1 file changed
+1
-1
@@ -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