1
0
mirror of https://github.com/renbaoshuo/UOJ-Luogu-RemoteJudge.git synced 2024-11-23 19:58:42 +00:00

fix: "Judgement Failed"

This commit is contained in:
Baoshuo Ren 2023-03-21 22:03:45 +08:00
parent b60d06a98d
commit 80b578b0fc
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -31,7 +31,7 @@ const STATUS_MAP = [
0,
0,
0,
'Judgment Failed',
'Judgement Failed',
'Accepted',
0,
'Wrong Answer', // WA
@ -160,7 +160,7 @@ export default class Luogu {
if (HTTP_ERROR_MAP[result.status]) {
await end({
error: true,
status: 'Judgment Failed',
status: 'Judgement Failed',
message: `[Luogu] ${HTTP_ERROR_MAP[result.status]}.`,
});
@ -187,7 +187,7 @@ export default class Luogu {
if (HTTP_ERROR_MAP[result.status]) {
await end({
error: true,
status: 'Judgment Failed',
status: 'Judgement Failed',
message: `[Luogu] ${HTTP_ERROR_MAP[result.status]}.`,
});
@ -207,7 +207,7 @@ export default class Luogu {
return await end({
error: true,
id,
status: 'Judgment Failed',
status: 'Judgement Failed',
message: 'Failed to fetch submission details.',
});
}
@ -289,7 +289,7 @@ export default class Luogu {
return await end({
error: true,
id,
status: 'Judgment Failed',
status: 'Judgement Failed',
message: 'Failed to fetch submission details.',
});
}
@ -354,7 +354,7 @@ export default class Luogu {
await end({
error: true,
status: 'Judgment Failed',
status: 'Judgement Failed',
message: e.message,
});
}