mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-12 04:37:44 +02:00
Fix double apply (#6045)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user