From 4fb1d963e26987d06e46b863e9455d37783be283 Mon Sep 17 00:00:00 2001 From: Stefan Aebischer Date: Mon, 20 Jan 2020 22:20:24 -0500 Subject: [PATCH] Fixes error in documentation --- doc/rest-client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); ```