From 8641a991d17cd86d42ef9402210a4f5d89a7d885 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Sun, 20 May 2012 14:28:03 -0400 Subject: [PATCH] fix bad parameter name in addCustomCharge --- lib/cheddargetter.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cheddargetter.js b/lib/cheddargetter.js index 2cf2818..1ca2be1 100644 --- a/lib/cheddargetter.js +++ b/lib/cheddargetter.js @@ -145,7 +145,7 @@ cheddargetter.prototype.addCustomCharge = function (customerCode, chargeCode, qu var data = { chargeCode: chargeCode, quantity: quantity.toString(), - amount: amount.toString(), + eachAmount: amount.toString(), description: description }; diff --git a/package.json b/package.json index 64bf403..e45b84b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cheddargetter", - "version": "0.1.4", + "version": "0.1.4-1", "author": "Kevin Smith", "repository": { "type": "git",