Class: LMSGraphQL::Mutations::Canvas::MergeUserIntoAnotherUserDestinationUserId
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::Mutation
- BaseMutation
- LMSGraphQL::Mutations::Canvas::MergeUserIntoAnotherUserDestinationUserId
- Defined in:
- lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb
Instance Method Summary collapse
Instance Method Details
#resolve(id:, destination_user_id:) ⇒ Object
13 14 15 16 17 18 19 20 21 22 |
# File 'lib/lms_graphql/mutations/canvas/merge_user_into_another_user_destination_user_id.rb', line 13 def resolve(id:, destination_user_id:) context[:canvas_api].call("MERGE_USER_INTO_ANOTHER_USER_DESTINATION_USER_ID").proxy( "MERGE_USER_INTO_ANOTHER_USER_DESTINATION_USER_ID", { "id": id, "destination_user_id": destination_user_id }, {}, ).parsed_response end |