mirror of
https://github.com/Readarr/Readarr
synced 2026-01-05 15:14:04 +01:00
Fixed: Album percentOfTracks named incorrectly
This commit is contained in:
parent
de224bcce5
commit
dc1eb63099
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ public class AlbumStatisticsResource
|
|||
public int TotalTrackCount { get; set; }
|
||||
public long SizeOnDisk { get; set; }
|
||||
|
||||
public decimal PercentOfEpisodes
|
||||
public decimal PercentOfTracks
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,8 +50,8 @@ protected TrackModuleWithSignalR(ITrackService trackService,
|
|||
|
||||
protected TrackResource GetTrack(int id)
|
||||
{
|
||||
var episode = _trackService.GetTrack(id);
|
||||
var resource = MapToResource(episode, true, true);
|
||||
var track = _trackService.GetTrack(id);
|
||||
var resource = MapToResource(track, true, true);
|
||||
return resource;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue