Skip to content

Commit 9266a06

Browse files
committed
Update Parse.Cloud.js
1 parent d887e4a commit 9266a06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cloud-code/Parse.Cloud.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -544,12 +544,12 @@ ParseCloud.beforeConnect = function (handler, validationHandler) {
544544
* });
545545
*```
546546
*
547-
* @method sendMail
547+
* @method sendEmail
548548
* @name Parse.Cloud.sendEmail
549-
* @param {Object} data The object of the mail data to send
549+
* @param {Object} data The object of the mail data to send.
550550
*/
551551
ParseCloud.sendEmail = function (data) {
552-
const config = Config.get(Parse.applicationId) || {};
552+
const config = Config.get(Parse.applicationId);
553553
const emailAdapter = config.userController.adapter;
554554
if (!emailAdapter) {
555555
config.loggerController.error(

0 commit comments

Comments
 (0)