🎥 Make videos programmatically with React
Update get-progress.ts
Jonny Burgerb5a7f0961f39
diff --git a/packages/lambda/src/functions/helpers/get-progress.ts b/packages/lambda/src/functions/helpers/get-progress.tsindex a23e7f1ad7..95a3ea1422 100644--- a/packages/lambda/src/functions/helpers/get-progress.ts+++ b/packages/lambda/src/functions/helpers/get-progress.ts@@ -4,7 +4,7 @@ import type {RenderProgress} from '../../shared/constants';import {chunkKey,encodingProgressKey,- lambdaChunkInitializedPrefix,+ initalizedMetadataKey,MAX_EPHEMERAL_STORAGE_IN_MB,renderMetadataKey,rendersPrefix,@@ -107,7 +107,7 @@ export const getProgress = async ({const initializedExists = Boolean(contents.find((c) => {- return c.Key?.startsWith(lambdaChunkInitializedPrefix(renderId));+ return c.Key?.startsWith(initalizedMetadataKey(renderId));}));