From f6acd0f06d6ff8527ecf1a5efbaa31d4e2423336 Mon Sep 17 00:00:00 2001 From: Bagasbanuna02 Date: Mon, 9 Oct 2023 17:24:35 +0800 Subject: [PATCH] title: auto des: auto note:auto --- src/app_modules/fun/get_user_profile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_modules/fun/get_user_profile.ts b/src/app_modules/fun/get_user_profile.ts index efcc3ebe..588c74bd 100644 --- a/src/app_modules/fun/get_user_profile.ts +++ b/src/app_modules/fun/get_user_profile.ts @@ -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,