From a25b2a2d87dd531d079daa60602135c486c2a38c Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Thu, 18 Jul 2024 17:55:19 +0500 Subject: [PATCH] Add plugin loader for account (#6092) Signed-off-by: Denis Bykhov --- server/account/src/operations.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/account/src/operations.ts b/server/account/src/operations.ts index bcbe604d3a..66b856f8dd 100644 --- a/server/account/src/operations.ts +++ b/server/account/src/operations.ts @@ -69,7 +69,7 @@ import { StorageConfiguration, type StorageAdapter } from '@hcengineering/server-core' -import { createIndexStages, createServerPipeline } from '@hcengineering/server-pipeline' +import { createIndexStages, createServerPipeline, registerServerPlugins } from '@hcengineering/server-pipeline' import { accountPlugin } from './plugin' const WORKSPACE_COLLECTION = 'workspace' @@ -978,6 +978,7 @@ export async function createWorkspace ( const storageAdapter = buildStorageFromConfig(storageConfig, mongodbUri) try { + registerServerPlugins() const factory: PipelineFactory = createServerPipeline( ctx, mongodbUri,