lastmjs
10/17/2017, 10:56 PMlastmjs
10/17/2017, 10:57 PM{
  "data": {
    "assignmentLTILaunch": null
  },
  "errors": [
    {
      "message": "Whoops. Looks like an internal server error. Please contact us from the Console (<https://console.graph.cool>) or via email (support@graph.cool) and include your Request ID: us-west-2:simple:cj8vq4nh200000174arcy8jgg",
      "requestId": "us-west-2:simple:cj8vq4nh200000174arcy8jgg",
      "path": [
        "assignmentLTILaunch"
      ],
      "locations": [
        {
          "line": 2,
          "column": 2
        }
      ]
    }
  ]
}lastmjs
10/17/2017, 10:57 PMtype AssignmentLTILaunchPayload {
    ltiJWT: String
    ltiSessionIdJWT: String!
    clientRedirectUrl: String!
    serverRedirectUrl: String!
}
extend type Mutation {
    assignmentLTILaunch(assignmentId: String!, assignmentType: String!, requestBody: String!): AssignmentLTILaunchPayload
}agartha
10/17/2017, 11:08 PMlastmjs
10/17/2017, 11:08 PMlastmjs
10/17/2017, 11:08 PMagartha
10/17/2017, 11:08 PMagartha
10/17/2017, 11:09 PMlastmjs
10/17/2017, 11:09 PMexport default async (event: any) => {
}agartha
10/17/2017, 11:10 PMagartha
10/17/2017, 11:10 PMreturn { data: null }lastmjs
10/17/2017, 11:10 PMlastmjs
10/17/2017, 11:11 PMlastmjs
10/17/2017, 11:11 PMlastmjs
10/17/2017, 11:12 PMexport default async (event: any) => {
    return {
        ltiJWT: 'hello',
        ltiSessionIdJWT: 'hello',
        clientRedirectUrl: 'hello',
        serverRedirectUrl: 'hello'
    };
}agartha
10/17/2017, 11:12 PMdata partlastmjs
10/17/2017, 11:12 PMlastmjs
10/17/2017, 11:12 PMagartha
10/17/2017, 11:12 PMlastmjs
10/17/2017, 11:12 PMagartha
10/17/2017, 11:12 PM