but when I execute ```const company = await conte...
# orm-help
j
but when I execute
Copy code
const company = await context.prisma.company({ id: token['companyId'] });
const user = await context.prisma.createUser({ ...args, password, company  })
I get the following
Copy code
"message": "Variable '$data' expected value of type 'UserCreateInput!' but got: {\"email\":\"<mailto:bob@prisma.io|bob@prisma.io>\",\"password\":\"$2a$10$0SP1mouEQbdyXFHtkBl91.NwoWc6waUFIjZh2NlLzQwpRaQzZmfXm\",\"firstNames\":\"Bob\",\"lastName\":\"Prisma\",\"mobileNumber\":\"0721222323\",\"nickName\":\"Bobby\",\"member\":false,\"leader\":true,\"company\":{\"id\":\"ckav9lduzothk0941ha2qlr5v\",\"name\":\"Fluenty\"}}. Reason: 'company.id' Field 'id' is not defined in the input type 'CompanyCreateOneWithoutUsersInput'. (line 1, column 11):\nmutation ($data: UserCreateInput!) {\n          ^",