0
0
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:
Víctor Losada Hernández
2025-10-15 21:22:45 +02:00
parent f604d0a41f
commit 3f29eb227a

View File

@@ -481,7 +481,7 @@ const api = {
await HomebrewModel.deleteOne({ editId: id });
return next();
}
return next();
throw(err);
}
let brew = req.brew;