mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-02 07:58:57 +02:00
🐛 Add missing import
This commit is contained in:
parent
6f425edeaa
commit
b49e5c8e94
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import { getSession } from "@rallly/backend/next/session";
|
||||
import { stripe } from "@rallly/backend/stripe";
|
||||
import { prisma } from "@rallly/database";
|
||||
import { absoluteUrl } from "@rallly/utils";
|
||||
import { NextApiRequest, NextApiResponse } from "next";
|
||||
import { z } from "zod";
|
||||
|
@ -24,7 +25,7 @@ export default async function handler(
|
|||
);
|
||||
}
|
||||
|
||||
const user = await prisma?.user.findUnique({
|
||||
const user = await prisma.user.findUnique({
|
||||
where: {
|
||||
id: userSession.user.id,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue