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

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

View File

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