Here\'s the code:
app.delete("farms/:id", async (req, res) => { const farm = await Farm.findByIdAndDelete(req.params.id); res.redirect(&q