From d03519c71ca841dd63d18ead0f5e4cf9041601cb Mon Sep 17 00:00:00 2001 From: OG T Date: Mon, 8 Jun 2026 01:07:12 +0800 Subject: [PATCH] fix(mcp): resolve TS error on audit log --- apps/web/src/app/api/mcp/[tool]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/api/mcp/[tool]/route.ts b/apps/web/src/app/api/mcp/[tool]/route.ts index 3f70ccc..dd05699 100644 --- a/apps/web/src/app/api/mcp/[tool]/route.ts +++ b/apps/web/src/app/api/mcp/[tool]/route.ts @@ -754,7 +754,7 @@ export async function POST(request: NextRequest, props: { params: Promise<{ tool action: "PLATFORM_FEE_COLLECTED", entityType: "TASK", entityId: newTask.id, - message: `A2A Routing Fee Collected: ${platformFee} ${claim.held_currency}`, + reason: `A2A Routing Fee Collected: ${platformFee} ${claim.held_currency}`, metadata: { fee_amount: platformFee, currency: claim.held_currency,