title: auto

des: auto
note:auto
This commit is contained in:
2023-10-09 17:24:35 +08:00
parent 837f97c153
commit f6acd0f06d

View File

@@ -5,7 +5,7 @@ import { revalidatePath } from "next/cache";
export async function funGetUserProfile(userId: string) {
const user = await prisma.user.findUnique({
where: {
id: userId,
id: userId
},
select: {
id: true,