feat: created the Link component

This commit is contained in:
Daniel
2023-03-10 22:55:33 +03:30
parent 0d5579b56d
commit 48bdf29161
10 changed files with 144 additions and 33 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { prisma } from "@/lib/api/db";
export default async (userId: number, collectionId: number) => {
const check: any = await prisma.collection.findFirst({
const check = await prisma.collection.findFirst({
where: {
AND: {
id: collectionId,