diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-02-16 22:34:54 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-02-16 22:34:54 +0100 |
commit | 71c297bab735ef06d2de0643a95ea9ee28b64479 (patch) | |
tree | c2861152423fd78174df800b8ef05e675d197d0e /src/server/lib | |
parent | 065c798078586b98f974c4f8ee2d1a7af1ad9218 (diff) |
Debounce the getMeetingpointData promise
Diffstat (limited to 'src/server/lib')
-rw-r--r-- | src/server/lib/getMeetingpointData.js | 2 |
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); |