From 777229d6bfa9b27ee21f5409dd74a686645786d0 Mon Sep 17 00:00:00 2001 From: Vladimir Grichina Date: Wed, 18 Nov 2020 14:58:59 -0800 Subject: [PATCH] yarn fix --- src/providers/json-rpc-provider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/json-rpc-provider.ts b/src/providers/json-rpc-provider.ts index 82bb83d902..2ddb065632 100644 --- a/src/providers/json-rpc-provider.ts +++ b/src/providers/json-rpc-provider.ts @@ -70,7 +70,7 @@ export class JsonRpcProvider extends Provider { * Query the RPC as [shown in the docs](https://docs.nearprotocol.com/docs/interaction/rpc#query) */ async query(...args: any[]): Promise { - let result + let result; if (args.length === 1) { result = await this.sendJsonRpc('query', args[0]); } else {