From 265b981aa7d4a81cea5663602c72c4030a50737b Mon Sep 17 00:00:00 2001 From: OG T Date: Mon, 8 Jun 2026 13:33:18 +0800 Subject: [PATCH] fix: add SYSTEM to EntityType to fix type error in route.ts --- apps/web/src/lib/audit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/lib/audit.ts b/apps/web/src/lib/audit.ts index eae160b..4574bfa 100644 --- a/apps/web/src/lib/audit.ts +++ b/apps/web/src/lib/audit.ts @@ -7,7 +7,7 @@ export async function logAuditEvent( actorType: "SYSTEM" | "AGENT" | "USER"; actorId?: string; action: string; - entityType: "TASK" | "CLAIM" | "SUBMISSION" | "JUDGE_RESULT"; + entityType: "TASK" | "CLAIM" | "SUBMISSION" | "JUDGE_RESULT" | "SYSTEM"; entityId: string; beforeState?: any; afterState?: any;