Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit ccf4e50

Browse files
committed
Update deps and minor format change
1 parent e656634 commit ccf4e50

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"body-parser": "^1.12.0",
3030
"connect-flash": "^0.1.1",
3131
"csurf": "^1.8.3",
32-
"dotenv": "^1.2.0",
32+
"dotenv": "^2.0.0",
3333
"express": "^4.12.0",
3434
"express-session": "^1.10.3",
3535
"morgan": "^1.5.1",
@@ -38,8 +38,8 @@
3838
"underscore": "^1.8.3"
3939
},
4040
"devDependencies": {
41-
"chai": "^2.1.0",
42-
"mocha": "^2.3.0",
43-
"supertest": "^1.1.0"
41+
"chai": "^3.5.0",
42+
"mocha": "^3.1.2",
43+
"supertest": "^2.0.1"
4444
}
4545
}

twilioClient.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ module.exports.sendSms = function(to, message) {
77
to: to,
88
from: config.sendingNumber
99
// mediaUrl: imageUrl
10-
})
11-
.then(function(data) {
10+
}).then(function(data) {
1211
console.log('Administrator notified');
13-
})
14-
.catch(function(err) {
12+
}).catch(function(err) {
1513
console.error('Could not notify administrator');
1614
console.error(err);
1715
});

0 commit comments

Comments
 (0)