diff --git a/util/inspectMediaChannelKey.js b/util/inspectMediaChannelKey.js index 4bbd7c8..42a747a 100644 --- a/util/inspectMediaChannelKey.js +++ b/util/inspectMediaChannelKey.js @@ -184,16 +184,21 @@ var expected = "005AQAoAEJERTJDRDdFNkZDNkU0ODYxNkYxQTYwOUVFNTM1M0U5ODNCQjFDNDQQA //console.log( (expected == result) ? "ok" : "failed"); module.exports = async(appIDa, appCertificatea, channela,uida)=>{ let keys = await inspectMediaChannelKey(appIDa, appCertificatea, channela, ts, r, uida, expiredTs); - if(expected == keys){ - return { - code:200, - channelKey:keys, - uid:uida - } - }else { - return { - code:400, - msg:"failed" - } + return { + code:200, + channelKey:keys, + uid:uida } + // if(expected == keys){ + // return { + // code:200, + // channelKey:keys, + // uid:uida + // } + // }else { + // return { + // code:400, + // msg:"failed" + // } + // } }