mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2024-11-24 02:58:42 +00:00
fix: waitForSubmission http status
This commit is contained in:
parent
ce4fdc1523
commit
c7c006bd3d
@ -182,7 +182,7 @@ export default class Luogu {
|
|||||||
count++;
|
count++;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const result = await this.get(`/judge/result?id=${id}`);
|
const result = await this.get(`/judge/result?id=${id}`).ok((status) => true);
|
||||||
|
|
||||||
if (HTTP_ERROR_MAP[result.status]) {
|
if (HTTP_ERROR_MAP[result.status]) {
|
||||||
await end({
|
await end({
|
||||||
|
Loading…
Reference in New Issue
Block a user