Skip to content

Commit 6cf409d

Browse files
Version 3.1.5
Fix config function MailerService Update packages
1 parent 2726ae6 commit 6cf409d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "node_api",
3-
"version": "3.1.3",
3+
"version": "3.1.5",
44
"description": "Node API is production ready and open source project in Node, Express, MongoDB",
55
"scripts": {
66
"start": "node server.js"
77
},
88
"author": "Renan Lopes",
99
"license": "MIT",
1010
"dependencies": {
11-
"bcrypt": "^3.0.6",
12-
"body-parser": "^1.15.2",
11+
"bcrypt": "4.0.1",
12+
"body-parser": "1.19.0",
1313
"consign": "^0.1.6",
1414
"cors": "^2.8.3",
1515
"express": "^4.14.0",
1616
"jsonwebtoken": "^7.2.1",
17-
"mongoose": "^5.7.1",
18-
"nodemailer": "^4.2.0"
17+
"mongoose": "5.9.10",
18+
"nodemailer": "6.4.6"
1919
},
2020
"engines": {
2121
"node": "14.0.0"

src/app/Services/Mail.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class MailerService {
55
this.transport = this.config();
66
}
77

8-
onfig = () =>
8+
config = () =>
99
nodemailer.createTransport({
1010
host: "smtp.gmail.com",
1111
auth: {

0 commit comments

Comments
 (0)