From b98b24dceb343c5018a03fde3ae12629a00d9f2c Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Tue, 6 Sep 2016 15:31:29 +0200 Subject: safari pls... --- public/javascripts/bundle.js | 2 +- 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) }) } -- cgit v1.1