Skip to content

Commit 07fbd3a

Browse files
author
Tim Mendoza
committed
Use new serverless api in helpers.js
1 parent 1287030 commit 07fbd3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ TWILIO_API_SECRET = the secret for the API Key`);
138138
}
139139

140140
const serverlessClient = new TwilioServerlessApiClient({
141-
accountSid: this.twilioClient.username,
142-
authToken: this.twilioClient.password,
141+
username: this.twilioClient.username,
142+
password: this.twilioClient.password,
143143
});
144144

145145
const pin = getRandomInt(6);

0 commit comments

Comments
 (0)