## feat
- Tampilan forum
- Tampilan forumku
- Tampilan komentar
- Tampilam posting
- Tampilan Detail posting
- Tampilan Edit postinf
- Tampilan edit komentat
- Tampilan report posting
- Tampilan report komentar
### No issuee
This commit is contained in:
2024-03-07 12:20:22 +08:00
parent a3f507169a
commit 629fd601d4
67 changed files with 2110 additions and 79 deletions

View File

@@ -2,13 +2,14 @@
import prisma from "@/app/lib/prisma";
export async function User_getOneById(userId: string) {
export async function user_getOneById(userId: string) {
const data = await prisma.user.findFirst({
where: {
id: userId,
},
select: {
id: true,
username: true,
Profile: true,
},
});