class LMSGraphQL::Mutations::Canvas::UpdateMigrationIssueAccount

Public Instance Methods

resolve(account_id:, content_migration_id:, id:, workflow_state:) click to toggle source
# File lib/lms_graphql/mutations/canvas/update_migration_issue_accounts.rb, line 15
def resolve(account_id:, content_migration_id:, id:, workflow_state:)
  context[:canvas_api].call("UPDATE_MIGRATION_ISSUE_ACCOUNTS").proxy(
    "UPDATE_MIGRATION_ISSUE_ACCOUNTS",
    {
      "account_id": account_id,
      "content_migration_id": content_migration_id,
      "id": id
    },
    {
      "workflow_state": workflow_state
    },
  ).parsed_response
end