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": [