Skip to content

Commit 8817166

Browse files
committed
update
1 parent af9ce92 commit 8817166

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed
Binary file not shown.

packages/lambda/src/api/get-sites.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ export type GetSitesOutput = {
3434
export const getSites = async ({
3535
region,
3636
}: GetSitesInput): Promise<GetSitesOutput> => {
37-
const remotionBuckets = await getRemotionS3Buckets(region).then(
38-
(b) => b.remotionBuckets
39-
);
37+
const {remotionBuckets} = await getRemotionS3Buckets(region);
4038
const accountId = await getAccountId({region});
4139

4240
const sites: {[key: string]: Site} = {};

0 commit comments

Comments
 (0)