Fix retry logic condition in pollResults function

This commit is contained in:
Arshit-Singhal-Official
2024-11-13 21:40:51 +05:30
parent abd162813a
commit 2bca18a5f1
+1 -1
View File
@@ -413,7 +413,7 @@
handleAuthError();
return;
}
if (retryCount > maxRetries) {
if (retryCount < maxRetries) {
retryCount++
await new Promise(resolve => setTimeout(resolve, 2000));
continue;