New: Add backup size information

Closes #2657
This commit is contained in:
Zack Eckersley Pallett 2022-02-21 20:11:12 +00:00 committed by Qstick
parent c58f66a0ec
commit c690f1ad39
6 changed files with 19 additions and 1 deletions

View file

@ -42,6 +42,7 @@ namespace Lidarr.Api.V1.System.Backup
Name = b.Name,
Path = $"/backup/{b.Type.ToString().ToLower()}/{b.Name}",
Type = b.Type,
Size = b.Size,
Time = b.Time
})
.OrderByDescending(b => b.Time)