Changes and fixes

This commit is contained in:
2026-03-18 10:52:00 +01:00
parent 2549dc7a78
commit 9ba073ec64
13 changed files with 87 additions and 65 deletions
@@ -16,13 +16,7 @@ namespace Musify.Application.PlayLists.Queries.GetPlayListById
.SingleOrDefaultAsync(p => p.Id == request.Id, cancellationToken);
return playList is not null
? Result.Success(new PlayListResponse(
playList.Id,
playList.Name,
playList.Description,
playList.ImageName,
playList.CreatedDate,
playList.UpdatedDate))
? Result.Success(PlayListResponse.FromEntity(playList))
: Result.NotFound("Playlist not found.");
}
}