Skip to content

Commit

Permalink
fix incorrect sendEvent() call
Browse files Browse the repository at this point in the history
calling `sendEvent()` instead of `_sendEvent()` in `BaseClient` does not leads to the super classe's
`_sendEvent()` not being called.
  • Loading branch information
Lms24 committed Apr 12, 2022
1 parent 99bde12 commit 67563bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ export abstract class BaseClient<B extends Backend, O extends Options> implement
this._updateSessionFromEvent(session, processedEvent);
}

this.sendEvent(processedEvent);
this._sendEvent(processedEvent);
return processedEvent;
})
.then(null, reason => {
Expand Down

0 comments on commit 67563bb

Please sign in to comment.