mirror of
https://github.com/strapi/strapi.git
synced 2025-08-14 19:56:41 +00:00
Merge pull request #5584 from joshwnj/fix-default-from-address
Fix the order of settings in ses provider
This commit is contained in:
commit
562b030025
@ -48,8 +48,8 @@ module.exports = {
|
||||
return new Promise((resolve, reject) => {
|
||||
// Default values.
|
||||
options = _.isObject(options) ? options : {};
|
||||
options.from = options.from || config.amazon_ses_default_from;
|
||||
options.replyTo = options.replyTo || config.amazon_ses_default_replyto;
|
||||
options.from = config.amazon_ses_default_from || options.from;
|
||||
options.replyTo = config.amazon_ses_default_replyto || options.replyTo;
|
||||
options.text = options.text || options.html;
|
||||
options.html = options.html || options.text;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user