Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
Walamana 2017-11-29 20:27:26 +01:00
parent 7fd1fb1649
commit 0af47355d1

2
app.js
View File

@ -93,7 +93,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));
}); });