Skip to content

🎥 Make videos programmatically with React

show renderStillMethodFirst before checking if render exists

Jonny Burgerce5639225985
diff --git a/packages/lambda/src/functions/helpers/get-progress.ts b/packages/lambda/src/functions/helpers/get-progress.ts
index db469174be..a5c539a0aa 100644
--- a/packages/lambda/src/functions/helpers/get-progress.ts
+++ b/packages/lambda/src/functions/helpers/get-progress.ts
@@ -116,13 +116,6 @@ export const getProgress = async ({
expectedBucketOwner,
});
- checkIfRenderExists(
- contents,
- renderId,
- bucketName,
- getCurrentRegionInFunction()
- );
-
const renderMetadataExists = Boolean(
contents.find((c) => c.Key === renderMetadataKey(renderId))
);
@@ -154,6 +147,13 @@ export const getProgress = async ({
);
}
+ checkIfRenderExists(
+ contents,
+ renderId,
+ bucketName,
+ getCurrentRegionInFunction()
+ );
+
const outputFile = renderMetadata
? await findOutputFileInBucket({
bucketName,