Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
Walamana 2017-12-05 15:33:16 +01:00
parent f1022af97c
commit c89717076b

2
app.js
View File

@ -114,7 +114,7 @@ app.get("/gottesdienste/:groupid", (req, res) => {
}); });
app.get("/groups", (req, res) => { app.get("/groups", (req, res) => {
con.query("SELECT * from gottesdienstgruppe ORDER BY `gottesdienstgruppe`.`ID` DESC LIMIT 0, 5", (err, result) => { con.query("SELECT * from gottesdienstGruppe ORDER BY `gottesdienstgruppe`.`ID` DESC LIMIT 0, 5", (err, result) => {
if (err) throw err; if (err) throw err;
res.send(JSON.stringify(result)); res.send(JSON.stringify(result));
}); });