Class: LMS::GraphQL::Mutations::Canvas::UpdateMigrationIssueAccount

Inherits:
CanvasBaseMutation
  • Object
show all
Defined in:
lib/lms/graphql/mutations/canvas/update_migration_issue_accounts.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, content_migration_id:, id:, workflow_state:) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/lms/graphql/mutations/canvas/update_migration_issue_accounts.rb', line 13

def resolve(account_id:, content_migration_id:, id:, workflow_state:)
  ctx[:canvas_api].proxy(
    "UPDATE_MIGRATION_ISSUE_ACCOUNTS",
    {
      "account_id": ,
      "content_migration_id": content_migration_id,
      "id": id,
      "workflow_state": workflow_state              },
    nil,
  ).parsed_response
end