feat(backend): add playlist cover endpoint and relax description validation

Adds GET /playlists/{id}/cover (mirrors the track cover endpoint) so
uploaded playlist pictures can actually be served. Also drops the
NotEmpty rule on playlist description, which rejected the blank
description the frontend treats as optional; CreatePlayList now falls
back to the domain's default text instead.
This commit is contained in:
2026-07-15 16:09:40 +02:00
parent a10426b3f1
commit b4b08aa3fd
5 changed files with 80 additions and 3 deletions
@@ -13,7 +13,6 @@ public sealed class UpdatePlayListRequestValidator : AbstractValidator<UpdatePla
.When(x => x.NewName is not null);
RuleFor(x => x.NewDescription)
.NotEmpty()
.MaximumLength(256)
.When(x => x.NewDescription is not null);
}