Conf error for api

This commit is contained in:
Kasper Rynning-Tønnesen
2018-02-27 11:36:59 +01:00
parent 0c2298524c
commit 31cadc18a6

View File

@@ -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,