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

Commit 654bf89

Browse files
committed
Reinstate mediaUrl parameter on twilioClient and minor fix on Readme
1 parent b370d35 commit 654bf89

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if you don't have one already.
4444
1. Navigate to the project directory in your terminal and run:
4545

4646
```bash
47-
npm install
47+
$ npm install
4848
```
4949

5050
This should install all of our project dependencies from npm into a local
@@ -67,8 +67,8 @@ if you don't have one already.
6767
informing you of an exception.
6868

6969
```bash
70-
npm install -g nodemon
71-
nodemon .
70+
$ npm install -g nodemon
71+
$ nodemon .
7272
```
7373

7474

twilioClient.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module.exports.sendSms = function(to, message) {
55
client.messages.create({
66
body: message,
77
to: to,
8-
from: config.sendingNumber
9-
// mediaUrl: imageUrl
8+
from: config.sendingNumber,
9+
mediaUrl: imageUrl
1010
}).then(function(data) {
1111
console.log('Administrator notified');
1212
}).catch(function(err) {

0 commit comments

Comments
 (0)