mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-23 04:11:41 +00:00
make it possible to catch an error on calls
This commit is contained in:
@ -37,7 +37,7 @@ export async function helloWorld(client: FluenceClient, name: string): Promise<s
|
||||
h.on('getDataSrv', 'relay', () => {
|
||||
return client.relayPeerId!;
|
||||
});
|
||||
h.on('getRelayService', 'hasReleay', () => {// Not Used
|
||||
h.on('getRelayService', 'hasRelay', () => {// Not Used
|
||||
return client.relayPeerId !== undefined;
|
||||
});
|
||||
h.on('getDataSrv', 'name', () => {return name;});
|
||||
|
Reference in New Issue
Block a user