From 651fa15d17e1b4a5d60667966affec412fcc4dfa Mon Sep 17 00:00:00 2001 From: sol Date: Tue, 20 Feb 2018 16:43:18 +0100 Subject: [PATCH] TT#33392 Fix apiSecret handling closes #1, closes #6 Change-Id: I49240dbe272d2e01c1d82d7faa854c9a19f2a6a0 --- src/client/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/index.js b/src/client/index.js index 29062ec..157d4d6 100644 --- a/src/client/index.js +++ b/src/client/index.js @@ -236,7 +236,7 @@ class Client { options.request.token = this.token; } if(this.apiSecret !== null) { - options.apisecret = this.apiSecret; + options.request.apisecret = this.apiSecret; } var transaction = new Transaction(options); this.transactions[transaction.getId()] = transaction;