From 0bcd67f7a09bf6161f148521541acfd01af278a0 Mon Sep 17 00:00:00 2001 From: Chris Blanchard Date: Fri, 31 Jul 2015 12:21:25 +0100 Subject: [PATCH] Simplify --- lib/react/user.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/react/user.jsx b/lib/react/user.jsx index 7d23002..a5cb6b3 100644 --- a/lib/react/user.jsx +++ b/lib/react/user.jsx @@ -2,9 +2,8 @@ var UserLogin = React.createClass({ authorizeId: function (id) { - id = parseInt(id, 10); socket.emit("users:authorize", { - id: id + id: parseInt(id, 10) }); setTimeout(function () { socket.emit("gather:refresh");