typo
Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
parent
8e12e94c19
commit
47d728b6b3
2
app.js
2
app.js
@ -95,7 +95,7 @@ app.get("/user/:user/update", (req, res) => {
|
|||||||
|
|
||||||
app.get("/gottesdienste", (req, res) => {
|
app.get("/gottesdienste", (req, res) => {
|
||||||
var groupid = req.params.groupid;
|
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;
|
if (err) throw err;
|
||||||
con.query("SELECT * from gottesdienste WHERE GruppeID='" + result[0]["ID"] + "' ORDER BY `gottesdienste`.`Datum` ASC LIMIT 0 , 30 ", (err, result) => {
|
con.query("SELECT * from gottesdienste WHERE GruppeID='" + result[0]["ID"] + "' ORDER BY `gottesdienste`.`Datum` ASC LIMIT 0 , 30 ", (err, result) => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user