Fixed the constraint issue with Metadata and ensure we log parameters on development modes. (#273)

This commit is contained in:
Joseph Milazzo 2021-06-06 16:13:07 -05:00 committed by GitHub
parent ee3cb9ede8
commit f0f74e867e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 3 deletions

View file

@ -106,6 +106,8 @@ namespace API.Data
.Where(x => x.Id == libraryId)
.Include(f => f.Folders)
.Include(l => l.Series)
.ThenInclude(s => s.Metadata)
.Include(l => l.Series)
.ThenInclude(s => s.Volumes)
.ThenInclude(v => v.Chapters)
.ThenInclude(c => c.Files)