mirror of
https://github.com/Readarr/Readarr
synced 2026-01-07 08:07:42 +01:00
Fixed: Errors converting to book resource
This commit is contained in:
parent
d51af026fb
commit
69773db77a
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ public static BookResource ToResource(this Book model)
|
|||
PageCount = selectedEdition?.PageCount ?? 0,
|
||||
Genres = model.Genres,
|
||||
Title = selectedEdition?.Title ?? model.Title,
|
||||
SeriesTitle = model.SeriesLinks?.Value?.Select(x => x.Series.Value.Title + (x.Position.IsNotNullOrWhiteSpace() ? $" #{x.Position}" : string.Empty)).ConcatToString("; "),
|
||||
SeriesTitle = model.SeriesLinks?.Value?.Select(x => x?.Series?.Value?.Title + (x?.Position.IsNotNullOrWhiteSpace() ?? false ? $" #{x.Position}" : string.Empty)).ConcatToString("; "),
|
||||
Disambiguation = selectedEdition?.Disambiguation,
|
||||
Overview = selectedEdition?.Overview,
|
||||
Images = selectedEdition?.Images ?? new List<MediaCover>(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue