mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 21:45:01 +02:00
Fix migration (#9497)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -251,7 +251,7 @@ async function migrateCollaborators (client: MigrationClient): Promise<void> {
|
||||
if ([DOMAIN_TX, DOMAIN_TRANSIENT].includes(domain)) continue
|
||||
client.logger.log('processing domain ', { domain })
|
||||
let processed = 0
|
||||
const iterator = await client.traverse(domain, {})
|
||||
const iterator = await client.traverse(domain, { 'notification:mixin:Collaborators': { $exists: true } })
|
||||
|
||||
try {
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user