ministrant ids fix
Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
parent
47d728b6b3
commit
1e5b37a1b6
2
app.js
2
app.js
@ -157,7 +157,7 @@ app.get("/ministranten", (req, res) =>{
|
|||||||
|
|
||||||
var attachToMini = function(mini, pos, then){
|
var attachToMini = function(mini, pos, then){
|
||||||
mini.registered = [];
|
mini.registered = [];
|
||||||
con.query("SELECT * FROM `" + mini.Name.toLowerCase() + "` LIMIT 0 , 30", (err, data) => {
|
con.query("SELECT * FROM `" + mini.Name.toLowerCase() + "` DESC LIMIT 0 , 30", (err, data) => {
|
||||||
if(data == null){
|
if(data == null){
|
||||||
then(mini, pos);
|
then(mini, pos);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user