Skip to content

Commit f8dba4b

Browse files
committed
Promise.all → Promise.allSettled
1 parent 5e493a7 commit f8dba4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/web/app/api/cron/domains/update

apps/web/app/api/cron/domains/update/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export async function POST(req: Request) {
7272
},
7373
});
7474

75-
await Promise.all([
75+
await Promise.allSettled([
7676
// update the `shortLink` field for each of the short links
7777
updateShortLinks(updatedLinks),
7878
// record new link values in Tinybird (dub_links_metadata)

0 commit comments

Comments
 (0)