Skip to content

🎥 Make videos programmatically with React

fix warning message

Jonny Burger6bcbe6163171
diff --git a/packages/lambda/src/shared/serialize-input-props.ts b/packages/lambda/src/shared/serialize-input-props.ts
index df6b61a8a5..a3e54c4148 100644
--- a/packages/lambda/src/shared/serialize-input-props.ts
+++ b/packages/lambda/src/shared/serialize-input-props.ts
@@ -24,7 +24,7 @@ export const serializeInputProps = async ({
console.warn(
`Warning: inputProps are over ${Math.round(
MAX_INLINE_PAYLOAD_SIZE / 1000
- )} (${Math.ceil(
+ )}KB (${Math.ceil(
payload.length / 1024
)}KB) in size. Uploading them to S3 to circumvent AWS Lambda payload size.`
);