Update VisualizationController.cs

This commit is contained in:
rlauu 2024-11-25 20:32:05 +01:00
parent 700c025fef
commit 983d1e346b

View File

@ -257,7 +257,6 @@ public class VisualizationController(ILogger<VisualizationController> logger, Me
[HttpPost("AnalyzerRegexs/UpdateSeason")] [HttpPost("AnalyzerRegexs/UpdateSeason")]
public async Task<ActionResult> UpdateAnalyzerRegexs([FromBody] UpdateSeasonRegexRequest request) public async Task<ActionResult> UpdateAnalyzerRegexs([FromBody] UpdateSeasonRegexRequest request)
{ {
_logger.LogInformation("Updating analyzer regexs for {SeasonId} with {SeasonRegexs}", request.Id, request.SeasonRegexs);
await Plugin.Instance!.SetSeasonRegexAsync(request.Id, request.SeasonRegexs).ConfigureAwait(false); await Plugin.Instance!.SetSeasonRegexAsync(request.Id, request.SeasonRegexs).ConfigureAwait(false);
return NoContent(); return NoContent();