mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -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 int TotalTrackCount { get; set; }
|
||||||
public long SizeOnDisk { get; set; }
|
public long SizeOnDisk { get; set; }
|
||||||
|
|
||||||
public decimal PercentOfEpisodes
|
public decimal PercentOfTracks
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,8 +50,8 @@ namespace Lidarr.Api.V1.Tracks
|
||||||
|
|
||||||
protected TrackResource GetTrack(int id)
|
protected TrackResource GetTrack(int id)
|
||||||
{
|
{
|
||||||
var episode = _trackService.GetTrack(id);
|
var track = _trackService.GetTrack(id);
|
||||||
var resource = MapToResource(episode, true, true);
|
var resource = MapToResource(track, true, true);
|
||||||
return resource;
|
return resource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue