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.

Update route.ts

Kiran Kff9ab6e61193
diff --git a/apps/web/app/api/domains/route.ts b/apps/web/app/api/domains/route.ts
index 189a012030..89f6a2f769 100644
--- a/apps/web/app/api/domains/route.ts
+++ b/apps/web/app/api/domains/route.ts
@@ -90,7 +90,7 @@ export const POST = withWorkspace(
placeholder,
assetLinks,
appleAppSiteAssociation,
- } = createDomainBodySchema.parse(body);
+ } = await createDomainBodySchema.parseAsync(body);
if (workspace.plan === "free") {
if (