diff --git a/src/models/requestClient.ts b/src/models/requestClient.ts index ea9119da..7b26faf1 100644 --- a/src/models/requestClient.ts +++ b/src/models/requestClient.ts @@ -81,9 +81,9 @@ export abstract class AbstractRequestClient implements RequestClient { this.eventEmitter.dispatchEvent(new RequestClientEvent('metaData', [type, response])); } protected onDisconnect() { - this.eventEmitter.dispatchEvent(new RequestClientEvent('disconnect')); + this.eventEmitter.dispatchEvent(new RequestClientEvent('disconnect', undefined)); } public triggerEnd() { - this.eventEmitter.dispatchEvent(new RequestClientEvent('end')); + this.eventEmitter.dispatchEvent(new RequestClientEvent('end', undefined)); } }