mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-05-26 04:17:19 +00:00
fix: missing data type spotify album art base64 img
This commit is contained in:
@@ -215,7 +215,7 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
|
|||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
padding-top: 18px;
|
padding-top: 18px;
|
||||||
">
|
">
|
||||||
<img src="${await encodeBase64(body.data.spotify.album_art_url)}" style="
|
<img src="data:image/png;base64,${await encodeBase64(body.data.spotify.album_art_url)}" style="
|
||||||
width: 80px;
|
width: 80px;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
border: solid 0.5px #222;
|
border: solid 0.5px #222;
|
||||||
|
|||||||
Reference in New Issue
Block a user