Skip to content

🎥 Make videos programmatically with React

prettier

JonnyBurger00467247a434
diff --git a/packages/cloudrun/src/functions/render-media-single-thread.ts b/packages/cloudrun/src/functions/render-media-single-thread.ts
index 42538dee64..c1a7ae62ee 100644
--- a/packages/cloudrun/src/functions/render-media-single-thread.ts
+++ b/packages/cloudrun/src/functions/render-media-single-thread.ts
@@ -140,7 +140,8 @@ export const renderMediaSingleThread = async (
height: body.forceHeight ?? composition.height,
width: body.forceWidth ?? composition.width,
fps: body.forceFps ?? composition.fps,
- durationInFrames: body.forceDurationInFrames ?? composition.durationInFrames,
+ durationInFrames:
+ body.forceDurationInFrames ?? composition.durationInFrames,
},
serveUrl: body.serveUrl,
codec: body.codec,
diff --git a/packages/cloudrun/src/functions/render-still-single-thread.ts b/packages/cloudrun/src/functions/render-still-single-thread.ts
index c84864e790..17e03bff30 100644
--- a/packages/cloudrun/src/functions/render-still-single-thread.ts
+++ b/packages/cloudrun/src/functions/render-still-single-thread.ts
@@ -72,7 +72,8 @@ export const renderStillSingleThread = async (
height: body.forceHeight ?? composition.height,
width: body.forceWidth ?? composition.width,
fps: body.forceFps ?? composition.fps,
- durationInFrames: body.forceDurationInFrames ?? composition.durationInFrames,
+ durationInFrames:
+ body.forceDurationInFrames ?? composition.durationInFrames,
},
serveUrl: body.serveUrl,
output: tempFilePath,