From 6d2853e2651c69ed17b2822cc2b5915a9cde139c Mon Sep 17 00:00:00 2001 From: Arunoda Susiripala Date: Sun, 13 Nov 2016 04:30:35 +0530 Subject: [PATCH] Use _setItem inside _setFn. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 619eb0f..6f1a4d2 100644 --- a/src/index.js +++ b/src/index.js @@ -30,7 +30,7 @@ export default class Podda { } Object.keys(newFields).forEach((key) => { - this.set(key, newFields[key]); + this._setItem(key, newFields[key]); }); }