From aa1fe2894d3ddc137539a119d3cdbbae9568ec4a Mon Sep 17 00:00:00 2001 From: John Hatton Date: Tue, 8 Nov 2016 08:01:14 -0700 Subject: [PATCH] Fix comment and readme --- README.md | 6 +----- cloud/emails.js | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 35aa129b20..75d6396172 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Here is the full [Parse Server guide](https://github.com/ParsePlatform/parse-ser 1. Give mongodb a blank directory to work with, and run it: - `c:\Program Files\MongoDB\Server\3.2\bin>mongod.exe --dbpath x:\temp\mongodata` + `mongod.exe --dbpath x:\temp\mongodata` 1. Start up this server: @@ -48,10 +48,6 @@ Here is the full [Parse Server guide](https://github.com/ParsePlatform/parse-ser and see the tables in the dashboard. -### Cloud Code - -Normally you will only touch the "cloud code", found in cloud/main.js. - ### Sample Queries ``` diff --git a/cloud/emails.js b/cloud/emails.js index 73388df994..cfc7970219 100644 --- a/cloud/emails.js +++ b/cloud/emails.js @@ -24,8 +24,8 @@ function sendBookSavedEmailAsync(book) { return sendEmailAboutBookAsync(book, mail, process.env.EMAIL_BOOK_EVENT_RECIPIENT); } -// Caller should have already filled in the from, to, subject, and content. -// This adds metedata about the book and sends off the email. +// Caller should have already filled in the from, subject, and (optionally) content. +// This adds metadata about the book and sends off the email. function sendEmailAboutBookAsync(book, sendGridMail, toAddress) { return new Promise(function(resolve, reject) { try{