본문 바로가기
TIL/GraphQL

Error: Could not find argument ** for type User

by 홍차23 2020. 3. 24.

Error: Could not find argument ** for type User

 

await prisma.updateUser({
	where: {id:user.id}
    ** // <-이부분을 data:{**} 로 감싸준다.
})

 

댓글