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))