mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-10 03:37:43 +02:00
UBERF-4319: Performance changes (#4474)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -78,7 +78,9 @@ export class SpaceSecurityMiddleware extends BaseMiddleware implements Middlewar
|
||||
next?: Middleware
|
||||
): Promise<SpaceSecurityMiddleware> {
|
||||
const res = new SpaceSecurityMiddleware(broadcast, storage, next)
|
||||
await res.init(ctx)
|
||||
await ctx.with('space chain', {}, async (ctx) => {
|
||||
await res.init(ctx)
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user