From abf49c632f0aef39655bbf2182b26e302f1f79ed Mon Sep 17 00:00:00 2001 From: patrickkfkan Date: Fri, 22 Jan 2021 00:47:12 +0800 Subject: [PATCH] Set default image format for discogs --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index ffefe07..cda4553 100644 --- a/lib/index.js +++ b/lib/index.js @@ -112,7 +112,7 @@ async function getDiscography(artistOrLabelUrl, options = {}) { const opts = { imageBaseUrl: imageConstants.baseUrl, artistOrLabelUrl, - imageFormat: await _parseImageFormatArg(options.imageFormat) + imageFormat: await _parseImageFormatArg(options.imageFormat, 9) }; return fetch(utils.getUrl('music', artistOrLabelUrl)) .then( res => res.text() )