diff --git a/packages/component-aws-ses/package.json b/packages/component-aws-ses/package.json index fd43a58e99b6798744804a7b5ca959bb5ec5e5e5..4ba5168e166742135891dc8ba4373f404b4c7dfc 100644 --- a/packages/component-aws-ses/package.json +++ b/packages/component-aws-ses/package.json @@ -1,5 +1,5 @@ { - "name": "pubsweet-components-aws-ses", + "name": "@pubsweet/component-aws-ses", "version": "0.2.0", "description": "xpub aws ses configured for faraday", "license": "MIT", diff --git a/packages/component-mail-service/package.json b/packages/component-mail-service/package.json index 42a8f08bcc27c100a8e56b62e9791c822c591fc6..cf598f847e35150270a8612d6bde0a87bae64a66 100644 --- a/packages/component-mail-service/package.json +++ b/packages/component-mail-service/package.json @@ -18,7 +18,7 @@ "peerDependencies": { "@pubsweet/logger": "^0.0.1", "pubsweet-server": "^1.0.1", - "@pubsweet/component-aws-ses": "^0.2.0" + "@pubsweet/component-aws-ses": "^0.1.0" }, "publishConfig": { "access": "public" diff --git a/packages/component-mail-service/src/Mail.js b/packages/component-mail-service/src/Mail.js index 908149442fd422a2d8e801b8fb0c0d1cc49a046c..42981c188ba0cc72b56f3cd719c26272f3164388 100644 --- a/packages/component-mail-service/src/Mail.js +++ b/packages/component-mail-service/src/Mail.js @@ -8,7 +8,6 @@ const resetUrl = config.get('invite-reset-password.url') module.exports = { setupInviteEmail: async (email, emailType, token, comment = '') => { - console.log('asereke', emailType) let subject const htmlFile = readFile(`${__dirname}/templates/${emailType}.html`) const textFile = readFile(`${__dirname}/templates/${emailType}.txt`)