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.

prismaEdge → prisma

Steven Tey43cd6f502657
diff --git a/apps/web/app/wellknown/[domain]/[file]/route.ts b/apps/web/app/wellknown/[domain]/[file]/route.ts
index a30913fc0f..1288508256 100644
--- a/apps/web/app/wellknown/[domain]/[file]/route.ts
+++ b/apps/web/app/wellknown/[domain]/[file]/route.ts
@@ -3,7 +3,7 @@ import {
supportedWellKnownFiles,
WellKnownConfig,
} from "@/lib/well-known";
-import { prismaEdge } from "@dub/prisma/edge";
+import { prisma } from "@dub/prisma";
import { NextRequest, NextResponse } from "next/server";
export async function GET(
@@ -18,7 +18,7 @@ export async function GET(
}
const { appleAppSiteAssociation, assetLinks } =
- (await prismaEdge.domain.findUnique({
+ (await prisma.domain.findUnique({
where: {
slug: domain,
},