From 31cadc18a6011dccb4bdae77687e63743dfcf886 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Tue, 27 Feb 2018 11:36:59 +0100 Subject: [PATCH] Conf error for api --- server/routing/client/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routing/client/api.js b/server/routing/client/api.js index 5981083b..be976d77 100644 --- a/server/routing/client/api.js +++ b/server/routing/client/api.js @@ -49,7 +49,7 @@ router.route('/api/list/:channel_name').get(function(req, res) { router.route('/api/conf/:channel_name').get(function(req, res) { var channel_name = req.params.channel_name; - db.collection(channel_name).find({views: {$exists: true}}, { + db.collection(channel_name + "_settings").find({views: {$exists: true}}, { addsongs: 1, adminpass: 1, allvideos: 1,