fix(web): remove invalid TS check for COMPLETED status
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user