diff options
Diffstat (limited to 'public/javascripts/getUsers.js')
-rw-r--r-- | public/javascripts/getUsers.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/public/javascripts/getUsers.js b/public/javascripts/getUsers.js deleted file mode 100644 index 780ae49..0000000 --- a/public/javascripts/getUsers.js +++ /dev/null @@ -1,7 +0,0 @@ -var Promise = require('bluebird') -var request = Promise.promisify(require('request')) - -module.exports = function () { - return request(`http://${window.location.host}/getUserIndex`) - .then(data => JSON.parse(data.body)) -} |