diff options
Diffstat (limited to 'public/javascripts/getUsers.js')
-rw-r--r-- | public/javascripts/getUsers.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) }) } |