Files
agent-bounty-protocol/scripts/clear_audit.ts
OG T 752a4a45d7
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 8s
feat: Enhance login page UI with delayed redirect instead of transparent 307
2026-06-08 18:37:35 +08:00

10 lines
286 B
TypeScript

import { PrismaClient } from "@prisma/client";
const prisma = new PrismaClient();
async function main() {
await prisma.auditEvent.deleteMany({
where: { action: "A2A_NETWORK_BROADCAST" }
});
console.log("Cleared A2A audit logs.");
}
main().finally(() => prisma.$disconnect());