Skip to content

Commit

Permalink
missing one
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Oct 10, 2024
1 parent 09d3de9 commit 4564c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/api/users/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { NextApiHandler } from "next";
import { getSession } from "next-auth/react";
import superjson from "superjson";

import { PrismaClient, Prisma, Role } from '@prisma/client'
const client = new PrismaClient()
import { Role } from "@prisma/client";
import { client } from "src/lib/prismaClient";

const handler: NextApiHandler = async (req, res) => {
const session = await getSession({ req });
Expand Down

0 comments on commit 4564c28

Please sign in to comment.