🎥 Make videos programmatically with React
fix filter on bucket which even if non relevant buckets are shown
Alex Fernandez1c67b46ca47a
diff --git a/packages/cloudrun/src/api/get-buckets.ts b/packages/cloudrun/src/api/get-buckets.tsindex 6810bbba43..a66b20020e 100644--- a/packages/cloudrun/src/api/get-buckets.ts+++ b/packages/cloudrun/src/api/get-buckets.ts@@ -25,7 +25,9 @@ export const getRemotionStorageBuckets = async (if (region !== 'all regions') {remotionBuckets = buckets.filter(- (b) => b.metadata.location === region.toUpperCase(),+ (b) =>+ b.metadata.location === region.toUpperCase() &&+ b.name?.startsWith(REMOTION_BUCKET_PREFIX),);}