dss 2 years ago
parent
commit
8bbf907752
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/CallCenter.Api/Realtimes/RealtimeService.cs

+ 1 - 1
src/CallCenter.Api/Realtimes/RealtimeService.cs

@@ -78,7 +78,7 @@ namespace CallCenter.Api.Realtimes
             var works = _userCacheManager.GetWorks();
             var works = _userCacheManager.GetWorks();
             if (works!=null)
             if (works!=null)
             {
             {
-                await _hubContext.Clients.Clients(works.Where(x=>x.SignalRId!=null && x.SignalRId!="").Select(x => x.SignalRId).ToList()).SendAsync(RealtimeMethods.CallQueue, 1, cancellationToken);
+                await _hubContext.Clients.Clients(works.Where(x=>x.SignalRId!=null && x.SignalRId!="").Select(x => x.SignalRId).ToList()).SendAsync(RealtimeMethods.CallQueue, new { count=1}, cancellationToken);
             }
             }
         }
         }
     }
     }