From 86306fc089b106132909306dedd9529a29c29de6 Mon Sep 17 00:00:00 2001 From: Cevo Date: Mon, 7 Sep 2015 16:36:31 +0200 Subject: [PATCH] console.log remove from requests.js --- js/utils/requests.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/js/utils/requests.js b/js/utils/requests.js index f9e1af04..8e846d7c 100644 --- a/js/utils/requests.js +++ b/js/utils/requests.js @@ -144,18 +144,17 @@ class Requests { let newUrl = this.prepareUrl(url, params); let body = null; if (paramsCopy && paramsCopy.body) { - console.log(paramsCopy.body); body = JSON.stringify(paramsCopy.body); } return this.request(method, newUrl, { body }); } post(url, params) { - return this._putOrPost(url,params,'post') + return this._putOrPost(url, params, 'post'); } put(url, params){ - return this._putOrPost(url,params,'put') + return this._putOrPost(url, params, 'put'); } defaults(options) {