Skip to content

Commit

Permalink
fixed Say options
Browse files Browse the repository at this point in the history
  • Loading branch information
jaumemir authored Jul 20, 2016
1 parent caa8ac7 commit 406e05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilio-say.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _internals.say = function (payload, creds, cb) {

var resp = new twilio.TwimlResponse();

resp.say({ 'voice' : payload.voice }, { 'language' : payload.language }, payload.text);
resp.say({ 'voice' : payload.voice , 'language' : payload.language }, payload.text);

cb(null, resp.toString());

Expand Down

0 comments on commit 406e05b

Please sign in to comment.