From eb14c735228e1081982898cacc229d5e5d3bc478 Mon Sep 17 00:00:00 2001 From: Cyril Feraudet Date: Tue, 21 Jun 2016 14:23:01 +0200 Subject: [PATCH] Fix stringified buffer who not allow base64 change --- lib/change.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/change.js b/lib/change.js index 9c0f36e3..1ded08c7 100644 --- a/lib/change.js +++ b/lib/change.js @@ -81,10 +81,10 @@ Object.defineProperties(Change.prototype, { var _attr = new Attribute({type: k}); if (Array.isArray(val[k])) { val[k].forEach(function (v) { - _attr.addValue(v.toString()); + _attr.addValue(v); }); } else { - _attr.addValue(val[k].toString()); + _attr.addValue(val[k]); } this._modification = _attr; },