Fix: User search & Event

Deskripsi:
- Tampilan avatar dan username
## NO Issue
This commit is contained in:
2024-09-30 11:01:17 +08:00
parent b13110be6f
commit ca5c30499a
80 changed files with 1764 additions and 918 deletions

View File

@@ -0,0 +1,17 @@
"use server";
import { prisma } from "@/app/lib";
export async function funGlobal_CheckProfile({
profileId,
}: {
profileId: string;
}) {
const res = await prisma.profile.findUnique({
where: {
id: profileId,
},
});
return res;
}

View File

@@ -1,4 +1,5 @@
import { funCheckToken } from "./fun_cek_token";
import { funGlobal_CheckProfile } from "./fun_check_profile";
import { funGlobal_getNomorAdmin } from "./fun_get_nomor_admin";
import { funGetUserIdByToken } from "./fun_get_user_id_by_token";
import { funGlobal_getMasterKategoriApp } from "./fun_master_kategori_app";
@@ -7,3 +8,4 @@ export { funGlobal_getMasterKategoriApp };
export { funGlobal_getNomorAdmin };
export { funCheckToken };
export { funGetUserIdByToken };
export { funGlobal_CheckProfile };