fix(web): remove invalid TS check for COMPLETED status
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s

This commit is contained in:
OG T
2026-06-07 22:02:16 +08:00
parent c3f21c1d85
commit ea5621bc6c

View File

@@ -661,10 +661,6 @@ export async function POST(request: NextRequest, props: { params: Promise<{ tool
data: { status: newTaskStatus } data: { status: newTaskStatus }
}); });
if (newTaskStatus === TaskStatus.COMPLETED) {
await capturePayment(tx, submission.task_id, `${submission.claim_id}-capture`);
}
await logAuditEvent(tx, { await logAuditEvent(tx, {
actorType: "SYSTEM", actorType: "SYSTEM",
action: "JUDGE_COMPLETE", action: "JUDGE_COMPLETE",