Improve: plugin: strapi-email-amazon-ses: setting labels;

Remove: plugin: strapi-email-amazon-ses: unnecessary setting.
This commit is contained in:
Nikolay Tsenkov 2018-07-24 12:54:25 +03:00
parent b73e3561f5
commit c8b9b272f1
2 changed files with 8 additions and 12 deletions

View File

@ -16,32 +16,28 @@ module.exports = {
name: 'Amazon SES',
auth: {
amazon_ses_default_from: {
label: 'Amazon SES Default From',
label: 'Default From',
type: 'text'
},
amazon_ses_default_replyto: {
label: 'Amazon SES Default Reply-To',
label: 'Default Reply-To',
type: 'text'
},
amazon_ses_api_key: {
label: 'Amazon SES API Key',
label: 'Amazon Access key ID',
type: 'text'
},
amazon_ses_secret: {
label: 'Amazon SES Secret',
type: 'text'
},
amazon_ses_endpoint: {
label: 'Amazon SES Endpoint',
label: 'Amazon Secret access key',
type: 'text'
}
},
init: (config) => {
var client = nodeSES.createClient({
key: config.amazon_ses_api_key,
secret: config.amazon_ses_secret,
amazon: config.amazon_ses_endpoint || null
secret: config.amazon_ses_secret
});
return {

View File

@ -1,6 +1,6 @@
{
"name": "strapi-email-amazon-ses",
"version": "3.0.0-alpha.12.7.1",
"version": "3.0.0-alpha.12.6",
"description": "Amazon SES provider for strapi email",
"homepage": "http://strapi.io",
"keywords": [
@ -42,4 +42,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}