mutation {
checkinsCreate(cohort_id: 1)
}
{
"data": null,
"errors": [
{
"message": "cohort.createCheckins is not a function",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"checkinsCreate"
],
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"exception": {
"stacktrace": [
"TypeError: cohort.createCheckins is not a function",
" at checkinsCreate (/nodeserver/schema/mutations/admin/cohort_users_checkin_create/cohort_users_checkin_create.js:12:21)"
]
}
}
}
]
}
The error message "cohort.createCheckins is not a function" was issued in response to the
checkinsCreatemutation entered from the GraphQL Playground against StagingBranch:
developmentMutation:
Response: