title: auto
des: auto note:auto
This commit is contained in:
@@ -5,7 +5,7 @@ import { revalidatePath } from "next/cache";
|
|||||||
export async function funGetUserProfile(userId: string) {
|
export async function funGetUserProfile(userId: string) {
|
||||||
const user = await prisma.user.findUnique({
|
const user = await prisma.user.findUnique({
|
||||||
where: {
|
where: {
|
||||||
id: userId,
|
id: userId
|
||||||
},
|
},
|
||||||
select: {
|
select: {
|
||||||
id: true,
|
id: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user