mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Merge pull request #324 from zoff-music/refactor/own-config
Conf error for api
This commit is contained in:
@@ -49,7 +49,7 @@ router.route('/api/list/:channel_name').get(function(req, res) {
|
|||||||
|
|
||||||
router.route('/api/conf/:channel_name').get(function(req, res) {
|
router.route('/api/conf/:channel_name').get(function(req, res) {
|
||||||
var channel_name = req.params.channel_name;
|
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,
|
addsongs: 1,
|
||||||
adminpass: 1,
|
adminpass: 1,
|
||||||
allvideos: 1,
|
allvideos: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user