- Deskripsi:
- Notifikasi collaboration
## Issue: Scroll dari chat akan di ubah dengan package yang mas malik buat
This commit is contained in:
2024-07-29 10:07:52 +08:00
parent 01114e8405
commit 810ce1c00d
42 changed files with 892 additions and 997 deletions

View File

@@ -0,0 +1,32 @@
"use server";
import prisma from "@/app/lib/prisma";
export async function notifikasiToUser_CreateGroupCollaboration({
colabId,
}: {
colabId: string;
}) {
const userPartisipasi =
await prisma.projectCollaboration_Partisipasi.findMany({
where: {
ProjectCollaboration: {
id: colabId,
},
},
select: {
// User: true,
userId: true,
// ProjectCollaboration: {
// select: {
// id
// title: true
// }
// },
},
});
console.log(userPartisipasi);
}