mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-23 20:13:20 +00:00
Add plugin loader for account (#6092)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
284a1c5b9b
commit
a25b2a2d87
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user