diff --git a/src/libpoketube/libpoketube-dislikes.js b/src/libpoketube/libpoketube-dislikes.js index daa52590..f7bed745 100644 --- a/src/libpoketube/libpoketube-dislikes.js +++ b/src/libpoketube/libpoketube-dislikes.js @@ -48,11 +48,11 @@ class PokeTubeDislikesAPIManager { try { - const engagement = await fetch(fallbackUrl).then((res) => res.json()); + const engagement = await fetch(apiUrl).then((res) => res.json()); return engagement; } catch { - try { - const engagement = await fetch(apiUrl).then((res) => res.json()); + try + const engagement = await fetch(fallbackUrl).then((res) => res.json()); return engagement; } catch { return null;