summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx
index fe5797769..bf117b3b3 100644
--- a/web/react/utils/client.jsx
+++ b/web/react/utils/client.jsx
@@ -335,7 +335,7 @@ export function getAnalytics(teamId, name, success, error) {
contentType: 'application/json',
type: 'GET',
success,
- error: function onError(xhr, status, err) {
+ error: (xhr, status, err) => {
var e = handleError('getAnalytics', xhr, status, err);
error(e);
}