0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

handle getid uncatched error

This commit is contained in:
Víctor Losada Hernández
2025-10-15 20:52:34 +02:00
parent 34ee1853e1
commit f604d0a41f

View File

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