mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-20 23:32:14 +00:00
Fix double apply (#6045)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
a4f338d43a
commit
bf0991d76a
@ -757,7 +757,7 @@ export class TServerStorage implements ServerStorage {
|
|||||||
})
|
})
|
||||||
result.push(...transactions)
|
result.push(...transactions)
|
||||||
|
|
||||||
if (applyTxes.length > 0) {
|
if (performAsync === undefined && applyTxes.length > 0) {
|
||||||
await this.apply(ctx, applyTxes)
|
await this.apply(ctx, applyTxes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user