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 = {
|
const opts = {
|
||||||
imageBaseUrl: imageConstants.baseUrl,
|
imageBaseUrl: imageConstants.baseUrl,
|
||||||
artistOrLabelUrl,
|
artistOrLabelUrl,
|
||||||
imageFormat: await _parseImageFormatArg(options.imageFormat)
|
imageFormat: await _parseImageFormatArg(options.imageFormat, 9)
|
||||||
};
|
};
|
||||||
return fetch(utils.getUrl('music', artistOrLabelUrl))
|
return fetch(utils.getUrl('music', artistOrLabelUrl))
|
||||||
.then( res => res.text() )
|
.then( res => res.text() )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user