Fixed: Album percentOfTracks named incorrectly

This commit is contained in:
Qstick 2018-10-02 21:03:52 -04:00
parent de224bcce5
commit dc1eb63099
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ public class AlbumStatisticsResource
public int TotalTrackCount { get; set; }
public long SizeOnDisk { get; set; }
public decimal PercentOfEpisodes
public decimal PercentOfTracks
{
get
{

View file

@ -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;
}