From 47d728b6b3f9b8dac40a73056f92a2f19165de2e Mon Sep 17 00:00:00 2001 From: Walamana Date: Tue, 5 Dec 2017 15:34:16 +0100 Subject: [PATCH] typo Signed-off-by: Walamana --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;