Fixed issue with correct title not returning result

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-03 12:12:32 +01:00
parent fa7071ecb6
commit 740cf021f8
2 changed files with 12 additions and 5 deletions

View File

@@ -381,7 +381,6 @@ router.route('/api/list/:channel_name/:video_id').post(function(req,res) {
res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept");
res.header({"Content-Type": "application/json"});
var fetch_only = false;
if(req.body.hasOwnProperty('fetch_song')) {
fetch_only = true;