From 4828b093f90159f549daf1e0f57983a45f38df4a Mon Sep 17 00:00:00 2001 From: Andrew Hampton <58611864+aurokon@users.noreply.github.com> Date: Mon, 5 Dec 2022 12:10:39 -0700 Subject: [PATCH] Update GoogleBooks.js Updated line 28 to pull largest image available instead of the thumbnail --- server/providers/GoogleBooks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/providers/GoogleBooks.js b/server/providers/GoogleBooks.js index 975528ebe..54da18233 100644 --- a/server/providers/GoogleBooks.js +++ b/server/providers/GoogleBooks.js @@ -25,7 +25,7 @@ class GoogleBooks { publisher, publishedYear: publisherDate ? publisherDate.split('-')[0] : null, description, - cover: imageLinks && imageLinks.thumbnail ? imageLinks.thumbnail : null, + cover: imageLinks && imageLinks.extraLarge ? imageLinks.extraLarge : null, genres: categories && Array.isArray(categories) ? [...categories] : null, isbn: this.extractIsbn(industryIdentifiers) } @@ -51,4 +51,4 @@ class GoogleBooks { } } -module.exports = GoogleBooks \ No newline at end of file +module.exports = GoogleBooks