1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:14:39 -05:00

add funny easter egg :3

This commit is contained in:
Ashley //// 2024-04-12 15:21:58 +00:00
parent a4ee5eae90
commit 6614cc5393

View file

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