From cdfd9705a5ef12e912a7e2971ab1aa208d88293c Mon Sep 17 00:00:00 2001 From: Walamana Date: Tue, 28 Nov 2017 21:17:07 +0100 Subject: [PATCH] bugfix Signed-off-by: Walamana --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 238d987..d0cde56 100644 --- a/app.js +++ b/app.js @@ -144,7 +144,7 @@ var attachToMini = function(mini, pos, then){ con.query("SELECT * FROM `" + mini.Name.toLowerCase() + "` LIMIT 0 , 30", (err, data) => { for(var j = 0; j < data.length; j++){ - mini.registered[data[j]["GottesdienstIDs"]] = { + mini.registered[j] = { id: data[j]["GottesdienstIDs"], value: data[j]["Anwesend"] };