@@ -19,8 +19,8 @@ module.exports = function(AV) {
1919 /**
2020 * Makes a call to a cloud function.
2121 * @param {String } name The function name.
22- * @param {Object } data The parameters to send to the cloud function.
23- * @param {AuthOptions } options
22+ * @param {Object } [ data] The parameters to send to the cloud function.
23+ * @param {AuthOptions } [ options]
2424 * @return {Promise } A promise that will be resolved with the result
2525 * of the function.
2626 */
@@ -40,8 +40,8 @@ module.exports = function(AV) {
4040 * Makes a call to a cloud function, you can send {AV.Object} as param or a field of param; the response
4141 * from server will also be parsed as an {AV.Object}, array of {AV.Object}, or object includes {AV.Object}
4242 * @param {String } name The function name.
43- * @param {Object } data The parameters to send to the cloud function.
44- * @param {AuthOptions } options
43+ * @param {Object } [ data] The parameters to send to the cloud function.
44+ * @param {AuthOptions } [ options]
4545 * @return {Promise } A promise that will be resolved with the result of the function.
4646 */
4747 rpc ( name , data , options ) {
@@ -105,7 +105,7 @@ module.exports = function(AV) {
105105 /**
106106 * Makes a call to verify sms code that sent by AV.Cloud.requestSmsCode
107107 * @param {String } code The sms code sent by AV.Cloud.requestSmsCode
108- * @param {phone } phone The mobile phoner number(optional) .
108+ * @param {phone } phone The mobile phoner number.
109109 * @return {Promise } A promise that will be resolved with the result
110110 * of the function.
111111 */
0 commit comments