Fix bug with not forwarded add events
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5cbc445597
commit
bb291c207d
@ -126,6 +126,8 @@ export abstract class Query {
|
||||
sender: this.session.id,
|
||||
};
|
||||
|
||||
Logging.debug("Sending change:", change);
|
||||
|
||||
this.changes.push(change);
|
||||
}
|
||||
|
||||
@ -529,6 +531,7 @@ export class CollectionQuery extends Query {
|
||||
options: this.query.options,
|
||||
});
|
||||
await q.run(collection, this._addId, batch, collectionKey);
|
||||
this.changes = q.changes;
|
||||
return this._addId;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user