mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 10:17:42 +02:00
UBERF-11712: Rework communication integration (#9335)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com> Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com> Co-authored-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
co-authored by
Kristina Fefelova
parent
161905dc0f
commit
702b51b51b
@@ -16,7 +16,7 @@ import core, {
|
||||
import { getAccountsFromTxes, getSocialKeyByOldEmail } from '@hcengineering/model-core'
|
||||
import { getAccountClient } from '@hcengineering/server-client'
|
||||
import { createDummyStorageAdapter, wrapPipeline, type PipelineFactory } from '@hcengineering/server-core'
|
||||
import { createBackupPipeline } from '@hcengineering/server-pipeline'
|
||||
import { createBackupPipeline, createEmptyBroadcastOps } from '@hcengineering/server-pipeline'
|
||||
import { generateToken } from '@hcengineering/server-token'
|
||||
import type { Db } from 'mongodb'
|
||||
|
||||
@@ -106,7 +106,7 @@ export async function performGithubAccountMigrations (
|
||||
it.workspace = ws.uuid
|
||||
replaces.set(it.workspace, ws.uuid)
|
||||
|
||||
const pipeline = await factory(metricsContext, ws, (): void => {}, null, null)
|
||||
const pipeline = await factory(metricsContext, ws, createEmptyBroadcastOps(), null)
|
||||
const client = wrapPipeline(metricsContext, pipeline, ws, false)
|
||||
|
||||
const systemAccounts = [core.account.System, core.account.ConfigUser]
|
||||
|
||||
Reference in New Issue
Block a user