mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-28 22:49:39 -05:00
omg
This commit is contained in:
@@ -11,8 +11,8 @@ export function fetchItemImage(api: Api, itemId: string, imageType?: ImageType,
|
||||
imageType: imageType ? imageType : ImageType.Primary,
|
||||
format: ImageFormat.Jpg
|
||||
})
|
||||
.then((response) => {
|
||||
console.log(`data:image/jpeg;base64,${response.data}`)
|
||||
.then(async (response) => {
|
||||
console.log(`data:image/jpeg;base64,${await convertFileToBase64(response.data)}`)
|
||||
return `data:image/jpeg;base64,${response.data}`;
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user