This commit is contained in:
Ashley //// 2024-04-26 18:24:58 +00:00
parent 952c1f453c
commit ffd18e8629

View file

@ -46,7 +46,7 @@ class PokeTubeDislikesAPIManager {
const { fetch } = await import("undici"); const { fetch } = await import("undici");
const engagement = await fetch(apiUrl).then((res) => res.json()); const engagement = await fetch(fallbackUrl).then((res) => res.json());
engagement.viewCount = this.videoId === "cc2-4ci4G84" ? 1406988074 : engagement.viewCount; engagement.viewCount = this.videoId === "cc2-4ci4G84" ? 1406988074 : engagement.viewCount;
return engagement; return engagement;