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

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