Skip to content

Commit

Permalink
Fix connections base comm events (#4242)
Browse files Browse the repository at this point in the history
Fixes the `R - Connections are update after adding a database,[C663724]`
smoke test, which was broken in
#4208.
  • Loading branch information
seeM authored Aug 5, 2024
1 parent 5c0e593 commit ccd1e75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/positron-connections/src/comms/BaseComm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ export class PositronBaseComm {
name: string,
properties: string[]
): Event<T> {
const event = this.clientInstance.onDidSendEvent((event: any) => {
const event = this.clientInstance.onDidSendEvent((output) => {
const event = output.data as any;
if (event.method === name) {
const args = event.params;
const namedArgs: any = {};
Expand Down

0 comments on commit ccd1e75

Please sign in to comment.