image response of blob

This commit is contained in:
Violet Caulfield
2025-01-26 08:17:17 -06:00
parent c1f3d252f1
commit 5766fcc497

View File

@@ -26,6 +26,8 @@ export async function fetchItemImage(
width: width ? Math.ceil(width * 2) : QueryConfig.playerArtwork.width,
height: height ? Math.ceil(height * 2) : QueryConfig.playerArtwork.height,
format: ImageFormat.Jpg,
}, {
responseType: 'blob'
})
.then((response) => {
console.debug(URL.createObjectURL(response.data));