MDL-78093 grade: standardize additional external parameter type.

This commit is contained in:
Paul Holden
2023-05-02 16:19:38 +01:00
parent 4f625c1e2e
commit 3862ec015d
+1 -1
View File
@@ -108,7 +108,7 @@ class get_feedback extends external_api {
'title' => new external_value(PARAM_TEXT, 'Title of the grade item that the feedback is for'),
'fullname' => new external_value(PARAM_TEXT, 'Students name'),
'picture' => new external_value(PARAM_RAW, 'Students picture'),
'additionalfield' => new external_value(PARAM_TEXT, 'Additional field for the user (email or ID number, for example)'),
'additionalfield' => new external_value(PARAM_RAW, 'Additional field for the user (email or ID number, for example)'),
]);
}
}