From a0d20abeed9d1401462458a9a6c4863eafc36c9a Mon Sep 17 00:00:00 2001 From: Pedro Lazari Date: Tue, 26 Nov 2019 17:23:20 -0300 Subject: [PATCH] Solving error in Function --- bullet-train-core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bullet-train-core.js b/bullet-train-core.js index 76674ab..7622d80 100644 --- a/bullet-train-core.js +++ b/bullet-train-core.js @@ -219,7 +219,7 @@ const BulletTrain = class { "identifier": identity }, "trait_key": key, - "trait_value": trait_value + "trait_value": value } return this.getJSON(`${api}traits/`, 'POST', JSON.stringify(body))