Last issue before release (#2681)

This commit is contained in:
Joe Milazzo 2024-02-02 09:04:56 -06:00 committed by GitHub
parent 149c30b138
commit 355ea24db6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 72 additions and 35 deletions

View file

@ -241,7 +241,9 @@ public class VolumeRepository : IVolumeRepository
c.LastReadingProgress = progresses.Max(p => p.LastModified);
}
v.PagesRead = userProgress.Where(p => p.VolumeId == v.Id).Sum(p => p.PagesRead);
v.PagesRead = userProgress
.Where(p => p.VolumeId == v.Id)
.Sum(p => p.PagesRead);
}
}
}