Register string loaders (#6095)

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

View File

@ -69,7 +69,12 @@ import {
StorageConfiguration,
type StorageAdapter
} from '@hcengineering/server-core'
import { createIndexStages, createServerPipeline, registerServerPlugins } from '@hcengineering/server-pipeline'
import {
createIndexStages,
createServerPipeline,
registerServerPlugins,
registerStringLoaders
} from '@hcengineering/server-pipeline'
import { accountPlugin } from './plugin'
const WORKSPACE_COLLECTION = 'workspace'
@ -979,6 +984,7 @@ export async function createWorkspace (
try {
registerServerPlugins()
registerStringLoaders()
const factory: PipelineFactory = createServerPipeline(
ctx,
mongodbUri,