get the right frame

This commit is contained in:
j 2024-02-06 12:24:27 +01:00
parent 1a52873bf3
commit 97383b8f2e

View file

@ -235,7 +235,7 @@ async function loadEdit(id, args) {
data.title = data.edit.name
data.byline = data.edit.description
data.link = `${pandora.proto}://${data.site}/edits/${data.edit.id}`
const poster = data.posterFrames[0]
const poster = data.edit.posterFrames[0]
if (poster) {
data.poster = `${pandora.proto}://${data.site}/${poster.item}/480p${poster.position}.jpg`
} else {