Set default image format for discogs
This commit is contained in:
parent
89833cef7e
commit
abf49c632f
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue
Block a user