From 3c5d05908acbe9396d2d862972af2081ca3a94b6 Mon Sep 17 00:00:00 2001 From: Timothy Date: Sat, 11 Jul 2026 21:10:15 +0200 Subject: [PATCH] chore(91b): clean up dead Blazor residue (Serilog override + stale comment) Codex-review nits: drop the now-inert "MudBlazor" Serilog level override in appsettings.json (package removed) and reword the PlaylistController comment that referenced the deleted Blazor MultiSelectBase.AddItemsToPlaylist path. No behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) --- ErsatzTV/Controllers/Api/PlaylistController.cs | 4 ++-- ErsatzTV/appsettings.json | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ErsatzTV/Controllers/Api/PlaylistController.cs b/ErsatzTV/Controllers/Api/PlaylistController.cs index 85055617d..f93f63ced 100644 --- a/ErsatzTV/Controllers/Api/PlaylistController.cs +++ b/ErsatzTV/Controllers/Api/PlaylistController.cs @@ -241,8 +241,8 @@ public class PlaylistController(IMediator mediator) : ControllerBase } // System (generated) playlists must not have items added. The AddItemsToPlaylistHandler - // also enforces this (defense-in-depth for the Blazor path, which calls the same command - // from MultiSelectBase.AddItemsToPlaylist). + // also enforces this (defense-in-depth: the handler is the authoritative guard regardless + // of caller). Either result = await mediator.Send(request.ToCommand(id), cancellationToken); return result.ToDeletedResult(); } diff --git a/ErsatzTV/appsettings.json b/ErsatzTV/appsettings.json index af72e35cc..c09aa2ae1 100644 --- a/ErsatzTV/appsettings.json +++ b/ErsatzTV/appsettings.json @@ -5,8 +5,7 @@ "Override": { "Microsoft.AspNetCore.HttpLogging.HttpLoggingMiddleware": "Information", "Microsoft": "Warning", - "System.Net.Http.HttpClient": "Warning", - "MudBlazor": "Information" + "System.Net.Http.HttpClient": "Warning" } }, "Enrich": [