From 114379c5b3ca530f680eed4815945dcecf18136b Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 24 Apr 2019 16:09:01 +0200 Subject: [PATCH] fix(core): update --- ts/smartsocket.classes.smartsocket.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/smartsocket.classes.smartsocket.ts b/ts/smartsocket.classes.smartsocket.ts index c390f1f..17e7491 100644 --- a/ts/smartsocket.classes.smartsocket.ts +++ b/ts/smartsocket.classes.smartsocket.ts @@ -29,7 +29,9 @@ export class Smartsocket { } // tslint:disable-next-line:member-ordering - public setExternalServer = this.socketServer.setExternalServer; + public async setExternalServer (serverType: 'express' | 'http', serverArg: any) { + await this.socketServer.setExternalServer(serverType, serverArg); + } /** * starts smartsocket