mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
fix ts error with client relayPeerID (#81)
This commit is contained in:
parent
5b7db0bfcf
commit
4a8d835158
@ -57,7 +57,7 @@ case class TypescriptFunc(func: FuncCallable) {
|
||||
| )
|
||||
| .configHandler((h) => {
|
||||
| h.on('${conf.getDataService}', 'relay', () => {
|
||||
| return client.relayPeerId;
|
||||
| return client.relayPeerId!;
|
||||
| });
|
||||
| h.on('getRelayService', 'hasReleay', () => {// Not Used
|
||||
| return client.relayPeerId !== undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user