Skip to content

Error in checkinsCreate mutation #193

@jdmedlock

Description

@jdmedlock

The error message "cohort.createCheckins is not a function" was issued in response to the checkinsCreate mutation entered from the GraphQL Playground against Staging

Branch:
development

Mutation:

mutation {
  checkinsCreate(cohort_id: 1) 
}

Response:

{
  "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)"
          ]
        }
      }
    }
  ]
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions