# feat:
- Deskripsi: - Notifikasi collaboration ## Issue: Scroll dari chat akan di ubah dengan package yang mas malik buat
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user