Error: Could not find argument ** for type User
await prisma.updateUser({
where: {id:user.id}
** // <-이부분을 data:{**} 로 감싸준다.
})
'TIL > GraphQL' 카테고리의 다른 글
'likeCount' Expected non-null value, found null. (0) | 2020.03.15 |
---|---|
TypeError: _prismaClient.prisma.commentproduct is not a function (0) | 2020.03.11 |
Graphql | Error: Cannot return null for non-nullable field. (0) | 2020.03.07 |
member - file 연결 (0) | 2020.03.07 |
tag - model 수정 (0) | 2020.03.04 |
댓글