mirror of
https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git
synced 2024-11-08 10:18:49 +00:00
fix: waitForSubmission http status
This commit is contained in:
parent
ce4fdc1523
commit
c7c006bd3d
@ -182,7 +182,7 @@ export default class Luogu {
|
||||
count++;
|
||||
|
||||
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]) {
|
||||
await end({
|
||||
|
Loading…
Reference in New Issue
Block a user