фикс внутри AddToGroup

This commit is contained in:
Olga Nemt 2023-10-25 16:30:35 +05:00
parent f620d75a19
commit e18e4e9273

View File

@ -37,11 +37,8 @@ namespace AsbCloudWebApi.SignalR
var state = work?.CurrentState; var state = work?.CurrentState;
if (state is not null) if (state is not null)
{ {
progress = new ReportProgressDto progress.Operation = state.State;
{ progress.Progress = (float)state.Progress;
Operation = state.State,
Progress = (float)state.Progress,
};
} }
await Clients.Group(groupName).SendAsync( await Clients.Group(groupName).SendAsync(