Return empty string for connectionId in some cases (#2470)
This commit is contained in:
parent
8f69509aaf
commit
0306038658
|
|
@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.SignalR.Client.Internal
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (Count == 1 && index == 0)
|
if (index == 0)
|
||||||
{
|
{
|
||||||
return new KeyValuePair<string, object>(ClientConnectionIdKey, ConnectionId);
|
return new KeyValuePair<string, object>(ClientConnectionIdKey, ConnectionId);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue