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 get-domain-or-throw.ts

Kiran Kc2842f9fc643
diff --git a/apps/web/lib/api/domains/get-domain-or-throw.ts b/apps/web/lib/api/domains/get-domain-or-throw.ts
index dad4ae16ad..d4160c9ebd 100644
--- a/apps/web/lib/api/domains/get-domain-or-throw.ts
+++ b/apps/web/lib/api/domains/get-domain-or-throw.ts
@@ -18,8 +18,6 @@ export const getDomainOrThrow = async ({
registeredDomain: true,
},
});
-
- return domainRecord;
if (!domainRecord) {
throw new DubApiError({