0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 17:02:40 +00:00

override next with an empty function

This commit is contained in:
Charlie Humphreys
2022-09-08 08:16:49 -05:00
parent a234fdbab7
commit 0625c57824

View File

@@ -268,7 +268,7 @@ const deleteGoogleBrew = async (account, id, editId, res)=>{
const deleteBrew = async (req, res, next)=>{
try {
await getBrew('edit')(req, res, next);
await getBrew('edit')(req, res, ()=>{});
} catch (err) {
const { id, googleId } = getId(req);
console.warn(`No google brew found for id ${googleId}, the stub will be deleted.`);