diff --git a/src/users/users.service.ts b/src/users/users.service.ts index 1794fb0..db9d24d 100644 --- a/src/users/users.service.ts +++ b/src/users/users.service.ts @@ -133,7 +133,7 @@ export class UsersService { // 3. user 정보 수정 async update(userId: number, updateUserDto: UpdateUserDto) { const { nickname, intro, nameChanged, userLocation } = updateUserDto; - + const user = await this.prisma.user.findUnique({ where: { userId }, });