🎥 Make videos programmatically with React
Update concat-videos.ts
Jonny Burger763397c6b0b2
diff --git a/packages/lambda/src/functions/helpers/concat-videos.ts b/packages/lambda/src/functions/helpers/concat-videos.tsindex d0a7174187..a6a8f7a168 100644--- a/packages/lambda/src/functions/helpers/concat-videos.ts+++ b/packages/lambda/src/functions/helpers/concat-videos.ts@@ -51,7 +51,7 @@ const downloadS3File = async ({}return new Promise<void>((resolve, reject) => {- Body.pipe(createWriteStream(outpath).on('error', (err) => reject(err)))+ Body.pipe(createWriteStream(outpath)).on('error', (err) => reject(err)).on('close', () => resolve());});