From 3e242969961c054d951bee23b4f75adf176ecff4 Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Wed, 26 Apr 2017 09:10:05 -0700 Subject: [PATCH] Swap the two lines --- scripts/system/makeUserConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/makeUserConnection.js b/scripts/system/makeUserConnection.js index 674da2d677..704450d8c3 100644 --- a/scripts/system/makeUserConnection.js +++ b/scripts/system/makeUserConnection.js @@ -582,8 +582,8 @@ function handleConnectionResponseAndMaybeRepeat(error, response) { UserActivityLogger.makeUserConnection(connectingId, false, error || response); connectionRequestCompleted(); } else { - debug('server success', result); result = response; + debug('server success', result); if (pollCount++) { connectionRequestCompleted(); } else { // Wait for other guy, so that final succcess is at roughly the same time.