aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-06 15:31:29 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-06 15:31:29 +0200
commitb98b24dceb343c5018a03fde3ae12629a00d9f2c (patch)
tree715dc2a9321d51d20597f44c9a45199f64359fbe /public/javascripts
parent5261bbe0d422a62f9c97943fae4d4eccd53bc1a5 (diff)
safari pls...
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/bundle.js2
-rw-r--r--public/javascripts/getUsers.js2
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) })
}