class LMSGraphQL::Mutations::Canvas::MarkTopicAsUnreadCourse

Public Instance Methods

resolve(course_id:, topic_id:) click to toggle source
# File lib/lms_graphql/mutations/canvas/mark_topic_as_unread_courses.rb, line 13
def resolve(course_id:, topic_id:)
  context[:canvas_api].call("MARK_TOPIC_AS_UNREAD_COURSES").proxy(
    "MARK_TOPIC_AS_UNREAD_COURSES",
    {
      "course_id": course_id,
      "topic_id": topic_id
    },
    {},
  ).parsed_response
end