mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 16:37:52 +01: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