set presentation field in record

This commit is contained in:
Samuel Newman
2026-01-30 17:24:42 +02:00
parent 017120b3e8
commit b3aa9682d9
+2
View File
@@ -354,6 +354,8 @@ async function resolveMedia(
alt: videoDraft.altText || undefined,
captions: captions.length === 0 ? undefined : captions,
aspectRatio,
presentation:
videoDraft.video.mimeType === 'image/gif' ? 'gif' : 'default',
}
}
if (embedDraft.media?.type === 'gif') {