17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/lms_graphql/mutations/canvas/create_planner_note.rb', line 17
def resolve(title: nil, details: nil, todo_date: nil, course_id: nil, linked_object_type: nil, linked_object_id: nil)
context[:canvas_api].call("CREATE_PLANNER_NOTE").proxy(
"CREATE_PLANNER_NOTE",
{},
{
"title": title,
"details": details,
"todo_date": todo_date,
"course_id": course_id,
"linked_object_type": linked_object_type,
"linked_object_id": linked_object_id
},
).parsed_response
end
|