Fix broken shadow ban check

This commit is contained in:
Ajay Ramachandran 2020-09-04 12:14:38 -04:00
parent d8a48ed9bc
commit 65f7f9605f

View file

@ -633,6 +633,8 @@ function sponsorsLookup(id: string) {
getRequest.then(async (response: FetchResponse) => { getRequest.then(async (response: FetchResponse) => {
if (response?.ok) { if (response?.ok) {
let getResult = JSON.parse(response.responseText); let getResult = JSON.parse(response.responseText);
console.log(getResult);
alert(getResult.length);
if (Config.config.hashPrefix) { if (Config.config.hashPrefix) {
getResult = getResult.filter((video) => video.videoID === id); getResult = getResult.filter((video) => video.videoID === id);
if (getResult.length > 0) { if (getResult.length > 0) {