fix: bsky post link

This commit is contained in:
alina 🌸 2024-12-29 13:35:50 +03:00
parent 0063bf424d
commit 082d230cd8
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -47,7 +47,7 @@ export async function fetchLastSeen() {
sourceLink: 'https://bsky.app/profile/did:web:tei.su',
time: new Date(bskyData.record.createdAt).getTime(),
text: bskyData.record.text.slice(0, 40) || '[no text]',
link: `https://bsky.app/profile/did:web:tei.su/post/${postId[0]}`,
link: `https://bsky.app/profile/did:web:tei.su/post/${postId[1]}`,
})
}
}