mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 11:27:46 +01:00
add funny easter egg :3
This commit is contained in:
parent
a4ee5eae90
commit
6614cc5393
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue