|
@@ -50,7 +50,7 @@ public class TelDomainService : ITelDomainService, IScopeDependency
|
|
|
if (!isResting)
|
|
|
{
|
|
|
await _deviceManager.TelRestAsync(currentWork.TelNo, cancellationToken);
|
|
|
- await _telRestRepository.AddAsync(new TelRest(currentWork.TelId, currentWork.TelNo, currentWork.UserId, currentWork.Name),
|
|
|
+ await _telRestRepository.AddAsync(new TelRest(currentWork.TelId, currentWork.TelNo, currentWork.UserId, currentWork.UserName),
|
|
|
cancellationToken);
|
|
|
}
|
|
|
}
|