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 {
7272 englishTitle : result . title_english ?? result . title ,
7373
7474 author : result . author_name ?? 'unknown' ,
75+ plot : result . description ?? 'unknown' ,
7576 pages : result . number_of_pages_median ?? 'unknown' ,
7677 onlineRating : Number . parseFloat ( Number ( result . ratings_average ?? 0 ) . toFixed ( 2 ) ) ,
7778 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';
44
55export class BookModel extends MediaTypeModel {
66 author : string ;
7+ plot :string ;
78 pages : number ;
89 image : string ;
910 onlineRating : number ;
You can’t perform that action at this time.
0 commit comments