diff options
Diffstat (limited to 'backend/api')
-rw-r--r-- | backend/api/api/Controllers/ModelController.cs | 3 | ||||
-rw-r--r-- | backend/api/api/api.csproj | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/backend/api/api/Controllers/ModelController.cs b/backend/api/api/Controllers/ModelController.cs index c31b24e1..04c072da 100644 --- a/backend/api/api/Controllers/ModelController.cs +++ b/backend/api/api/Controllers/ModelController.cs @@ -102,7 +102,7 @@ namespace api.Controllers var user = _userService.GetUserByUsername(model.username); if (ChatHub.CheckUser(user._id)) - await _ichat.Clients.Client(ChatHub.Users[user._id]).SendAsync("NotifyEpoch",info.ModelId,info.Stat,model.epochs); + await _ichat.Clients.Client(ChatHub.Users[user._id]).SendAsync("NotifyEpoch",model.name,info.ModelId,info.Stat,model.epochs,info.EpochNum); return Ok(); } @@ -256,6 +256,7 @@ namespace api.Controllers public class Epoch { public string ModelId { get; set; } + public int EpochNum { get; set; } public string Stat { get; set; } } } diff --git a/backend/api/api/api.csproj b/backend/api/api/api.csproj index 306761b4..3d245333 100644 --- a/backend/api/api/api.csproj +++ b/backend/api/api/api.csproj @@ -21,7 +21,7 @@ </ItemGroup> <ItemGroup> - <Folder Include="Predictors\" /> + <Folder Include="PredictorFiles\" /> <Folder Include="TempFiles\" /> </ItemGroup> |