aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/getUsers.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-01-08 11:48:13 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-01-08 11:48:13 +0100
commit320c18af3ee9cbeaaae3d4796dd7f15a5ac90889 (patch)
treed63339d425a2a6a20c883d896b9ed492272d6085 /public/javascripts/getUsers.js
parent4e8da42863406764a659a7337e774ad216d356c9 (diff)
parentdea89e1ec600b302a8db33dd48080b901aee7c7e (diff)
Merge branch 'master' of github.com:nloomans/rooster-mml
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))
-}