From 834e1a8b58496e721f086f04612658c4a22c8d7d Mon Sep 17 00:00:00 2001
From: =Corey Hulen <corey@hulen.com>
Date: Mon, 26 Oct 2015 22:13:40 -0700
Subject: adding arrow notation

---
 web/react/utils/client.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/utils/client.jsx')

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);
         }
-- 
cgit v1.2.3-1-g7c22

