class LMSGraphQL::Mutations::Canvas::MergeUserIntoAnotherUserAccount

Public Instance Methods

resolve(id:, destination_account_id:, destination_user_id:) click to toggle source
# File lib/lms_graphql/mutations/canvas/merge_user_into_another_user_accounts.rb, line 14
def resolve(id:, destination_account_id:, destination_user_id:)
  context[:canvas_api].call("MERGE_USER_INTO_ANOTHER_USER_ACCOUNTS").proxy(
    "MERGE_USER_INTO_ANOTHER_USER_ACCOUNTS",
    {
      "id": id,
      "destination_account_id": destination_account_id,
      "destination_user_id": destination_user_id
    },
    {},
  ).parsed_response
end