diff --git a/doc/rest-client.md b/doc/rest-client.md index a4c27ac..716f1c5 100644 --- a/doc/rest-client.md +++ b/doc/rest-client.md @@ -133,6 +133,6 @@ client.changeUserLeverage({leverage: 4, symbol: 'ETHUSD'}) console.log(result); }) .catch(err => { - console.error(error); + console.error(err); }); ```