diff options
-rw-r--r-- | public/javascripts/bundle.js | 2 | ||||
-rw-r--r-- | public/javascripts/getUsers.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/public/javascripts/bundle.js b/public/javascripts/bundle.js index 182249f..3eecbf4 100644 --- a/public/javascripts/bundle.js +++ b/public/javascripts/bundle.js @@ -72602,7 +72602,7 @@ const request = Promise.promisify(require('request')) module.exports = function () { return request(`http://${window.location.host}/getUserIndex`) - .then(data => JSON.parse(data.body)) + .then(function (data) { return JSON.parse(data.body) }) } },{"bluebird":179,"request":255}],307:[function(require,module,exports){ diff --git a/public/javascripts/getUsers.js b/public/javascripts/getUsers.js index ca86108..ff771dd 100644 --- a/public/javascripts/getUsers.js +++ b/public/javascripts/getUsers.js @@ -4,5 +4,5 @@ const request = Promise.promisify(require('request')) module.exports = function () { return request(`http://${window.location.host}/getUserIndex`) - .then(data => JSON.parse(data.body)) + .then(function (data) { return JSON.parse(data.body) }) } |