Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Promise.all → Promise.allSettled

Steven Teyf8dba4bb3687
diff --git a/apps/web/app/api/cron/domains/update/route.ts b/apps/web/app/api/cron/domains/update/route.ts
index b8c82dc877..94a41912cf 100644
--- a/apps/web/app/api/cron/domains/update/route.ts
+++ b/apps/web/app/api/cron/domains/update/route.ts
@@ -72,7 +72,7 @@ export async function POST(req: Request) {
},
});
- await Promise.all([
+ await Promise.allSettled([
// update the `shortLink` field for each of the short links
updateShortLinks(updatedLinks),
// record new link values in Tinybird (dub_links_metadata)