Skip to content

🎥 Make videos programmatically with React

remove }

Jonny Burgerfb2637916d33
diff --git a/packages/lambda/src/shared/call-lambda.ts b/packages/lambda/src/shared/call-lambda.ts
index 40fcf20b25..607d4224d4 100644
--- a/packages/lambda/src/shared/call-lambda.ts
+++ b/packages/lambda/src/shared/call-lambda.ts
@@ -44,7 +44,7 @@ export const callLambda = async <T extends LambdaRoutines>({
if (event.InvokeComplete) {
if (event.InvokeComplete.ErrorCode) {
throw new Error(
- `Lambda function ${functionName} failed with error code ${event.InvokeComplete.ErrorCode}: ${event.InvokeComplete.ErrorDetails}}`
+ `Lambda function ${functionName} failed with error code ${event.InvokeComplete.ErrorCode}: ${event.InvokeComplete.ErrorDetails}`
);
}
}