summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/lib/utils/ajax_cache.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/lib/utils/ajax_cache.js')
-rw-r--r--app/assets/javascripts/lib/utils/ajax_cache.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/ajax_cache.js b/app/assets/javascripts/lib/utils/ajax_cache.js
index 2d976dbdbbe..935bd0f16e9 100644
--- a/app/assets/javascripts/lib/utils/ajax_cache.js
+++ b/app/assets/javascripts/lib/utils/ajax_cache.js
@@ -25,7 +25,7 @@ class AjaxCache extends Cache {
this.internalStorage[endpoint] = data;
delete this.pendingRequests[endpoint];
})
- .catch(e => {
+ .catch((e) => {
const error = new Error(`${endpoint}: ${e.message}`);
error.textStatus = e.message;