Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in checkinsCreate mutation #193

Open
jdmedlock opened this issue Jan 14, 2019 · 0 comments
Open

Error in checkinsCreate mutation #193

jdmedlock opened this issue Jan 14, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jdmedlock
Copy link
Collaborator

jdmedlock commented Jan 14, 2019

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)"
          ]
        }
      }
    }
  ]
}
@jdmedlock jdmedlock added the bug Something isn't working label Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants