mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2024-11-27 14:56:29 +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