mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 02:34:38 -05:00
lol
This commit is contained in:
parent
7312960bb0
commit
7e2c544872
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue