Merge pull request #324 from zoff-music/refactor/own-config

Conf error for api
This commit is contained in:
Kasper Rynning-Tønnesen
2018-02-27 11:37:18 +01:00
committed by GitHub

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,