fix bug where oneoff templates are uploaded without a frame

pull/480/head
Mike Lang 2 weeks ago
parent 3d22afbf0d
commit 5b62e3a2ff

@ -1321,12 +1321,11 @@ async function sendVideoData(newState, overrideChanges) {
}
}
try {
if (thumbnailMode === "ONEOFF") {
thumbnailImage = await renderThumbnail();
thumbnailMode = "CUSTOM";
}
if (thumbnailMode === "CUSTOM") {
thumbnailImage = await uploadedImageToBase64();
} else if (thumbnailMode === "ONEOFF") {
thumbnailImage = await renderThumbnail();
thumbnailMode = "CUSTOM";
}
} catch (e) {
submissionError(`${e}`);

Loading…
Cancel
Save