fix(admin): broken report controls (#12)
This commit is contained in:
@@ -34,6 +34,8 @@ export const AuditLogMiddleware = createMiddleware<HonoEnv>(async (ctx, next) =>
|
||||
);
|
||||
}
|
||||
ctx.set('auditLogReason', result.data);
|
||||
} else {
|
||||
ctx.set('auditLogReason', null);
|
||||
}
|
||||
|
||||
await next();
|
||||
|
||||
Reference in New Issue
Block a user