mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-06 17:57:42 +02:00
Rework triggers with arrays (#7168)
This commit is contained in:
@@ -141,9 +141,7 @@ export class PlatformWorker {
|
||||
for (const [workspace, users] of workspaces) {
|
||||
const worker = this.clients.get(workspace)
|
||||
if (worker !== undefined) {
|
||||
await this.ctx.with('syncUsers', {}, async (ctx) => {
|
||||
await worker.syncUserData(ctx, users)
|
||||
})
|
||||
await this.ctx.with('syncUsers', {}, (ctx) => worker.syncUserData(ctx, users))
|
||||
}
|
||||
}
|
||||
this.periodicSyncPromise = undefined
|
||||
|
||||
Reference in New Issue
Block a user