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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user