mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03: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)
|
||||
|
||||
if (applyTxes.length > 0) {
|
||||
if (performAsync === undefined && applyTxes.length > 0) {
|
||||
await this.apply(ctx, applyTxes)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user