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