diff --git a/app.js b/app.js index afdfa8d..7856e88 100644 --- a/app.js +++ b/app.js @@ -95,7 +95,7 @@ app.get("/user/:user/update", (req, res) => { app.get("/gottesdienste", (req, res) => { var groupid = req.params.groupid; - con.query("SELECT ID from gottesdienstgruppe ORDER BY ID DESC LIMIT 1", (err, result) => { + con.query("SELECT ID from gottesdienstGruppe ORDER BY ID DESC LIMIT 1", (err, result) => { if (err) throw err; con.query("SELECT * from gottesdienste WHERE GruppeID='" + result[0]["ID"] + "' ORDER BY `gottesdienste`.`Datum` ASC LIMIT 0 , 30 ", (err, result) => { if (err) throw err;