From 7e2c5448724d1af5cf850a2d776d2cbca228d56f Mon Sep 17 00:00:00 2001 From: Ashley //// Date: Sun, 21 Apr 2024 08:18:03 +0000 Subject: [PATCH] lol --- src/libpoketube/libpoketube-core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/libpoketube-core.js b/src/libpoketube/libpoketube-core.js index 265f340e..3f901755 100644 --- a/src/libpoketube/libpoketube-core.js +++ b/src/libpoketube/libpoketube-core.js @@ -81,7 +81,7 @@ class InnerTubePokeVidious { */ const response = await fetch(url, { headers }); - while (response.status === 500) { + if (response.status === 500) { // If status is 500, fetch again return fetchData(url, headers); }