1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 09:14:39 -05:00
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;