Skip to content

🎥 Make videos programmatically with React

Add force as an optional parameter

TachyonicBytes186a718e23d7
diff --git a/packages/lambda/src/api/get-sites.ts b/packages/lambda/src/api/get-sites.ts
index 608eeac194..c9636755ce 100644
--- a/packages/lambda/src/api/get-sites.ts
+++ b/packages/lambda/src/api/get-sites.ts
@@ -31,7 +31,7 @@ export type GetSitesOutput = {
*/
export const getSites = async ({
region,
-}: GetSitesInput, forced: boolean): Promise<GetSitesOutput> => {
+}: GetSitesInput, forced?: boolean): Promise<GetSitesOutput> => {
const {remotionBuckets} = forced ? await getRemotionS3Buckets(region) : await getRemotionS3Buckets(region, "");
const accountId = await getAccountId({region});