fix(admin): broken report controls (#12)

This commit is contained in:
hampus-fluxer authored and GitHub committed 2026-01-03 17:52:34 +01:00
1 parent 7782bb1ba5
commit edb36f406d
6 files changed
+44 -34

No files matched your search

@@ -34,6 +34,8 @@ export const AuditLogMiddleware = createMiddleware<HonoEnv>(async (ctx, next) =>
);
}
ctx.set('auditLogReason', result.data);
} else {
ctx.set('auditLogReason', null);
}
await next();