aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/getUsers.js
diff options
context:
space:
mode:
authorBuildTools <Noah Loomans>2017-01-07 22:37:16 +0100
committerBuildTools <Noah Loomans>2017-01-07 22:37:16 +0100
commit549364fb691f7f092223e186033a8138c3ead2fd (patch)
treebec1b0bbc972a08ff69464853190044780eb667d /public/javascripts/getUsers.js
parent4e8da42863406764a659a7337e774ad216d356c9 (diff)
parenta5238353ab86923bb3911e0bf2886ebcb53dfbd2 (diff)
Merge branch 'beta'
Diffstat (limited to 'public/javascripts/getUsers.js')
-rw-r--r--public/javascripts/getUsers.js7
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))
-}