Implemented the ability to correct a match from UI and further scans will show that new Series name.
This commit is contained in:
parent
5186508aff
commit
c6e1fec9f2
11 changed files with 806 additions and 18 deletions
|
@ -76,14 +76,12 @@ namespace API.Controllers
|
|||
|
||||
if (!_unitOfWork.HasChanges()) return Ok("Nothing was updated");
|
||||
|
||||
if (_unitOfWork.HasChanges() && await _unitOfWork.Complete())
|
||||
{
|
||||
_logger.LogInformation("Server Settings updated");
|
||||
_taskScheduler.ScheduleTasks();
|
||||
return Ok(updateSettingsDto);
|
||||
}
|
||||
|
||||
return BadRequest("There was a critical issue. Please try again.");
|
||||
if (!_unitOfWork.HasChanges() || !await _unitOfWork.Complete())
|
||||
return BadRequest("There was a critical issue. Please try again.");
|
||||
|
||||
_logger.LogInformation("Server Settings updated");
|
||||
_taskScheduler.ScheduleTasks();
|
||||
return Ok(updateSettingsDto);
|
||||
}
|
||||
|
||||
[Authorize(Policy = "RequireAdminRole")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue