Not showing suggested on mobileload

This commit is contained in:
Kasper Rynning-Tønnesen
2018-04-06 17:39:47 +02:00
parent 3fbca854d7
commit 88b1426bb1

View File

@@ -420,7 +420,6 @@ router.route('/api/list/:channel_name/:video_id').put(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"});
console.log("here");
try {
if(!req.body.hasOwnProperty('adminpass') || !req.body.hasOwnProperty('userpass') ||
!req.params.hasOwnProperty('channel_name') || !req.params.hasOwnProperty('video_id')) {