13
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/lms_graphql/mutations/canvas/update_multiple_preferences_communication_channel_id.rb', line 13
def resolve(communication_channel_id:, notification_preferences__X__frequency:)
context[:canvas_api].call("UPDATE_MULTIPLE_PREFERENCES_COMMUNICATION_CHANNEL_ID").proxy(
"UPDATE_MULTIPLE_PREFERENCES_COMMUNICATION_CHANNEL_ID",
{
"communication_channel_id": communication_channel_id
},
{
"notification_preferences[<X>][frequency]": notification_preferences__X__frequency
},
).parsed_response
end
|