Fix a typo in Query docs - freee -> free (#2263)

This fixes a typo in Query Subscriptions with params docs. `freee` -> `free`
This commit is contained in:
Paweł Nguyen
2020-05-11 18:05:43 +02:00
committed by GitHub
parent 5a11b0c701
commit 14874f41f7
+1 -1
View File
@@ -26,7 +26,7 @@ If we had a query with parameters, i.e. where we wish to perform a query for a s
// Subscribe to balance changes for our account
const unsub = await api.query.system.account(ADDR, ({ nonce, data: balance }) => {
console.log(`free balance is ${balance.freee} with ${balance.reserved} reserved and a nonce of ${nonce}`);
console.log(`free balance is ${balance.free} with ${balance.reserved} reserved and a nonce of ${nonce}`);
});
```