fix: add SYSTEM to EntityType to fix type error in route.ts
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 7s

This commit is contained in:
OG T
2026-06-08 13:33:18 +08:00
parent 6b243ded7e
commit 265b981aa7

View File

@@ -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;