feat(api): Контроллер изменения статуса задания робота, принимает робот ИД
This commit is contained in:
@@ -72,7 +72,8 @@ namespace PARR.API.Controllers.V1
|
||||
HistoryLevel = (int)historyLevel,
|
||||
TaskStatusCode = config.TaskStatusCode,
|
||||
RobotConfigurationId = config.Id,
|
||||
RobotIp = clientService.GetClientIp()?.ToString()
|
||||
RobotIp = clientService.GetClientIp()?.ToString(),
|
||||
RobotId = request.RobotId
|
||||
};
|
||||
await robotHistoryService.CreateAsync(history);
|
||||
await robotHistoryService.CommitAsync();
|
||||
|
||||
Reference in New Issue
Block a user