From 0306038658b2b36acabd28ba4e8fb5e40f91b10d Mon Sep 17 00:00:00 2001 From: BrennanConroy Date: Mon, 11 Jun 2018 12:50:34 -0700 Subject: [PATCH] Return empty string for connectionId in some cases (#2470) --- .../Internal/ConnectionLogScope.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.SignalR.Client.Core/Internal/ConnectionLogScope.cs b/src/Microsoft.AspNetCore.SignalR.Client.Core/Internal/ConnectionLogScope.cs index b8d6e1bb66..8dfabd76b6 100644 --- a/src/Microsoft.AspNetCore.SignalR.Client.Core/Internal/ConnectionLogScope.cs +++ b/src/Microsoft.AspNetCore.SignalR.Client.Core/Internal/ConnectionLogScope.cs @@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.SignalR.Client.Internal { get { - if (Count == 1 && index == 0) + if (index == 0) { return new KeyValuePair(ClientConnectionIdKey, ConnectionId); }