This commit is contained in:
Bluemangoo 2025-05-08 20:59:54 +08:00
parent cb6c5459e1
commit 4ba1085535
Signed by: Bluemangoo
GPG Key ID: F2F7E46880A1C4CF

View File

@ -40,9 +40,9 @@
}); });
} catch { } catch {
await new Promise((resolve) => setTimeout(resolve, 1000)); await new Promise((resolve) => setTimeout(resolve, 1000));
return poll(); return this.poll();
} }
poll(); this.poll();
try { try {
const data = await res.json(); const data = await res.json();
if (data.status !== "nothing") { if (data.status !== "nothing") {