Skip to content

Commit

Permalink
Update plugins/aws/lambda/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sungyu Kang <gron1gh1@gmail.com>
  • Loading branch information
rjwu95 and gronxb authored Feb 17, 2025
1 parent 92cea55 commit 8ba93e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/aws/lambda/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const handler: CloudFrontRequestHandler = async (event) => {

const bundles = results
.filter((result) => result.status === "fulfilled")
.map((result) => result.value).flat() as Bundle[];
.flatMap((result) => result.value) as Bundle[];

const updateInfo = await getUpdateInfo(bundles, {
platform: appPlatform,
Expand Down

0 comments on commit 8ba93e2

Please sign in to comment.