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 next lint + import prisma

Steven Tey72953d9e93d4
diff --git a/package.json b/package.json
index d201cafce4..a32cea9ba8 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"scripts": {
"dev": "next dev",
"build": "next build",
- "start": "next start"
+ "start": "next start",
+ "lint": "next lint"
},
"dependencies": {
"@headlessui/react": "^1.6.6",
diff --git a/pages/api/usage/index.ts b/pages/api/usage/index.ts
index 246ebc1b60..9b0bd6b368 100644
--- a/pages/api/usage/index.ts
+++ b/pages/api/usage/index.ts
@@ -1,5 +1,6 @@
import { NextApiRequest, NextApiResponse } from "next";
import { withUserAuth } from "@/lib/auth";
+import prisma from "@/lib/prisma";
export default withUserAuth(
async (req: NextApiRequest, res: NextApiResponse, userId: string) => {