Class: LMSGraphQL::Mutations::Canvas::UpdateMigrationIssueAccount

Inherits:
BaseMutation
  • 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



15
16
17
18
19
20
21
22
23
24
25
26
27
# 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": ,
      "content_migration_id": content_migration_id,
      "id": id
    },
    {
      "workflow_state": workflow_state
    },
  ).parsed_response
end