Add plugin loader for account (#6092)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2024-07-18 17:55:19 +05:00 committed by GitHub
parent 284a1c5b9b
commit a25b2a2d87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,