dss 2 anni fa
parent
commit
1d5933580e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/CallCenter/Users/UserDomainService.cs

+ 1 - 1
src/CallCenter/Users/UserDomainService.cs

@@ -83,7 +83,7 @@ namespace CallCenter.Users
             var tel = _telCacheManager.GetTel(work.TelNo);
             work.OffDuty();
             await _workRepository.UpdateAsync(work, cancellationToken);
-            //await _deviceManager.UpdateStaffNoAsync(work.TelNo, string.Empty, tel.LineId, cancellationToken);
+            await _deviceManager.UpdateStaffNoAsync(work.TelNo, string.Empty, tel.LineId, cancellationToken);
             _cacheWork.Remove(work.GetKey(KeyMode.UserId));
             _cacheWork.Remove(work.GetKey(KeyMode.TelNo));