summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-10-26 22:13:40 -0700
committer=Corey Hulen <corey@hulen.com>2015-10-26 22:13:40 -0700
commit834e1a8b58496e721f086f04612658c4a22c8d7d (patch)
treee9df1f5d5ba20c6354857317d97ae114f6a5409b /web
parentaec99ceb9d47d6354ac5a96bbc290126b55d30f5 (diff)
downloadchat-834e1a8b58496e721f086f04612658c4a22c8d7d.tar.gz
chat-834e1a8b58496e721f086f04612658c4a22c8d7d.tar.bz2
chat-834e1a8b58496e721f086f04612658c4a22c8d7d.zip
adding arrow notation
Diffstat (limited to 'web')
-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);
}