TIL/GraphQL

Error: Could not find argument ** for type User

홍차23 2020. 3. 24. 20:18

Error: Could not find argument ** for type User

 

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