Class: LMSGraphQL::Mutations::Canvas::UpdateContentMigrationAccount

Inherits:
BaseMutation
  • Object
show all
Defined in:
lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb

Instance Method Summary collapse

Instance Method Details

#resolve(account_id:, id:) ⇒ Object



13
14
15
16
17
18
19
20
21
22
# File 'lib/lms_graphql/mutations/canvas/update_content_migration_accounts.rb', line 13

def resolve(account_id:, id:)
  context[:canvas_api].call("UPDATE_CONTENT_MIGRATION_ACCOUNTS").proxy(
    "UPDATE_CONTENT_MIGRATION_ACCOUNTS",
    {
      "account_id": ,
      "id": id
    },
    {},
  ).parsed_response
end