mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07: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 @@ namespace Lidarr.Api.V1.Albums
|
|||
public int TotalTrackCount { get; set; }
|
||||
public long SizeOnDisk { get; set; }
|
||||
|
||||
public decimal PercentOfEpisodes
|
||||
public decimal PercentOfTracks
|
||||
{
|
||||
get
|
||||
{
|
||||
|
|
|
@ -50,8 +50,8 @@ namespace Lidarr.Api.V1.Tracks
|
|||
|
||||
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…
Add table
Add a link
Reference in a new issue