diff --git a/app.js b/app.js index 8071216..bd8bb86 100644 --- a/app.js +++ b/app.js @@ -298,15 +298,6 @@ app.get("/api/buildings", requireLogin, async (req, res) => { } }); - } -}); - - } catch (err) { - console.error(err); - res.status(500).json({ error: "DB Fehler" }); - } -}); - app.use(express.json()); app.use(express.urlencoded({ extended: true }));