Added isbn field to books

This commit is contained in:
ltctceplrm 2023-12-19 19:52:52 +01:00
parent 4f09776036
commit fe9f04126d
2 changed files with 3 additions and 0 deletions

View file

@ -69,6 +69,7 @@ export class OpenLibraryAPI extends APIModel {
dataSource: this.apiName,
url: `https://openlibrary.org` + result.key,
id: result.key,
isbn: result.isbn[0] ?? 'unknown',
englishTitle: result.title_english ?? result.title,
author: result.author_name ?? 'unknown',