File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export class OpenLibraryAPI extends APIModel {
72
72
englishTitle : result . title_english ?? result . title ,
73
73
74
74
author : result . author_name ?? 'unknown' ,
75
+ plot : result . description ?? 'unknown' ,
75
76
pages : result . number_of_pages_median ?? 'unknown' ,
76
77
onlineRating : Number . parseFloat ( Number ( result . ratings_average ?? 0 ) . toFixed ( 2 ) ) ,
77
78
image : `https://covers.openlibrary.org/b/OLID/` + result . cover_edition_key + `-L.jpg` ?? '' ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { MediaType } from '../utils/MediaType';
4
4
5
5
export class BookModel extends MediaTypeModel {
6
6
author : string ;
7
+ plot :string ;
7
8
pages : number ;
8
9
image : string ;
9
10
onlineRating : number ;
You can’t perform that action at this time.
0 commit comments