mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 17:17:59 +00:00
fix ryd
This commit is contained in:
parent
4922f61d81
commit
4ba022fba8
@ -48,11 +48,11 @@ class PokeTubeDislikesAPIManager {
|
|||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const engagement = await fetch(fallbackUrl).then((res) => res.json());
|
const engagement = await fetch(apiUrl).then((res) => res.json());
|
||||||
return engagement;
|
return engagement;
|
||||||
} catch {
|
} catch {
|
||||||
try {
|
try
|
||||||
const engagement = await fetch(apiUrl).then((res) => res.json());
|
const engagement = await fetch(fallbackUrl).then((res) => res.json());
|
||||||
return engagement;
|
return engagement;
|
||||||
} catch {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
Reference in New Issue
Block a user