parse-server-mailgun
Advanced tools
Comparing version 2.4.4 to 2.4.5
{ | ||
"name": "parse-server-mailgun", | ||
"version": "2.4.4", | ||
"version": "2.4.5", | ||
"description": "Mailgun adapter for Parse Server apps", | ||
@@ -5,0 +5,0 @@ "main": "./lib/MailgunAdapter.js", |
@@ -86,3 +86,3 @@ # parse-server-mailgun | ||
// NOTE: It's best to do this inside the Parse.Cloud.define(...) method body and not at the top of your file with your other imports. This gives Parse Server time to boot, setup cloud code and the email adapter. | ||
const MailgunAdapter = AppCache.get('yourAppId')['userController']['adapter']; | ||
const MailgunAdapter = AppCache.get('yourAppId').userController.adapter; | ||
@@ -139,3 +139,3 @@ // Invoke the send method with an options object | ||
For password reset and address verification messages, you can use the following template variables by default: | ||
* `{{link}}` - the reset or verification link provided by the Parse Server | ||
* `{{{link}}}` - the reset or verification link provided by the Parse Server (rendered as unescaped content) | ||
* `{{appName}}` - as is defined in your Parse Server configuration object | ||
@@ -142,0 +142,0 @@ * `{{username}}` - the Parse.User object's username property |
@@ -6,3 +6,3 @@ Hi {{username}}, | ||
{{link}} | ||
{{{link}}} | ||
@@ -9,0 +9,0 @@ If you don't wish to reset your password, disregard this email and no action will be taken. |
@@ -6,5 +6,5 @@ Hi {{username}}, | ||
{{link}} | ||
{{{link}}} | ||
The AwesomeApp Team | ||
https://awesomeapp.com |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
82966