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.

added missing prisma import

Steven Tey34e4d4b1962c
diff --git a/pages/api/links/[key]/clicks.ts b/pages/api/links/[key]/clicks.ts
index 6e6de359f3..42b640a42d 100644
--- a/pages/api/links/[key]/clicks.ts
+++ b/pages/api/links/[key]/clicks.ts
@@ -1,5 +1,6 @@
import { NextApiRequest, NextApiResponse } from "next";
import { getLinkClicksCount } from "@/lib/upstash";
+import prisma from "@/lib/prisma";
// This is a special route to check if a custom dub.sh links exists