aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-02-16 22:34:54 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-02-16 22:34:54 +0100
commit71c297bab735ef06d2de0643a95ea9ee28b64479 (patch)
treec2861152423fd78174df800b8ef05e675d197d0e /src
parent065c798078586b98f974c4f8ee2d1a7af1ad9218 (diff)
Debounce the getMeetingpointData promise
Diffstat (limited to 'src')
-rw-r--r--src/server/lib/getMeetingpointData.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/lib/getMeetingpointData.js b/src/server/lib/getMeetingpointData.js
index 64e8500..e50fe5f 100644
--- a/src/server/lib/getMeetingpointData.js
+++ b/src/server/lib/getMeetingpointData.js
@@ -111,4 +111,4 @@ function getMeetingpointData() {
return Promise.resolve(meetingpointData);
}
-module.exports = getMeetingpointData;
+module.exports = debounce(getMeetingpointData);