Skip to content

Commit

Permalink
addRecord Response fixed for body parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Pramod committed Jul 23, 2013
1 parent 8b03e71 commit 10ef98a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plivo.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,8 +822,8 @@ Response.prototype = {
return this.add(new PreAnswer(Response), '', {});
},

addRecord: function (body, attributes) {
return this.add(new Record(Response), body, attributes);
addRecord: function (attributes) {
return this.add(new Record(Response),'', attributes);
},

addRedirect: function (body, attributes) {
Expand Down

0 comments on commit 10ef98a

Please sign in to comment.