MDL-63303 message: fix get_conversations external func

This commit is contained in:
Ryan Wyllie
2018-11-15 14:40:12 +08:00
parent 569c0bae9c
commit b3bbd4a0e1
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1086,6 +1086,7 @@ $functions = array(
'description' => 'Retrieve a list of conversations for a user',
'type' => 'read',
'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE),
'ajax' => true
),
'core_message_get_conversation' => array(
'classname' => 'core_message_external',
+1 -1
View File
@@ -1609,7 +1609,7 @@ class core_message_external extends external_api {
return new external_single_structure(
[
'conversations' => new external_multiple_structure(
self::get_conversation_structure()
self::get_conversation_structure(true)
)
]
);