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

2
app.js
View File

@ -114,7 +114,7 @@ app.get("/gottesdienste/:groupid", (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;
res.send(JSON.stringify(result));
});