From a1856d08bc2778f9b41076cd6175ff2389b2e5ca Mon Sep 17 00:00:00 2001 From: OG T Date: Tue, 9 Jun 2026 18:22:17 +0800 Subject: [PATCH] fix: align treasury alert slashing fields with current schema --- apps/web/src/app/api/cron/treasury-alert/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/api/cron/treasury-alert/route.ts b/apps/web/src/app/api/cron/treasury-alert/route.ts index bdac278..5c7e1ee 100644 --- a/apps/web/src/app/api/cron/treasury-alert/route.ts +++ b/apps/web/src/app/api/cron/treasury-alert/route.ts @@ -21,8 +21,8 @@ export async function GET(request: Request) { for (const slashing of newSlashings) { alerts.push(`🚨 [TREASURY ALERT - SLASHING] -Agent ${slashing.slashed_agent_id} was penalized! -💸 Amount Confiscated: ${(slashing.amount_cents / 100).toFixed(2)} USDC +Agent ${slashing.agent_id} was penalized! +💸 Amount Confiscated: ${(slashing.slashed_amount / 100).toFixed(2)} USDC 💼 Transferred to Platform Treasury.`); } lastCheckedSlashingCount = currentSlashingCount;