nestjs_auth...
This commit is contained in:
parent
d19cadf8ce
commit
f263299474
@ -44,7 +44,7 @@ export class UserService {
|
||||
|
||||
//단일 조회
|
||||
async fetchOne(where: Prisma.UserWhereUniqueInput): Promise<User | null> {
|
||||
return await this.prisma.user.findUnique({ where })
|
||||
return await this.prisma.user.findUnique({ where: where })
|
||||
}
|
||||
|
||||
//단일 추가
|
||||
|
||||
Loading…
Reference in New Issue
Block a user