Fix: admin investasi

Deskripsi:
- Fix image dari server wibu
## No Issue
This commit is contained in:
2024-11-04 11:08:29 +08:00
parent 604077cc8d
commit 9b4a6fdc1c
49 changed files with 793 additions and 192 deletions

View File

@@ -0,0 +1,16 @@
"use server";
import { prisma } from "@/app/lib";
export async function funGlobal_getUserById({ userId }: { userId: string }) {
const data = await prisma.user.findFirst({
where: {
id: userId,
},
include: {
Profile: true,
},
});
return data;
}