Skip to content
This repository has been archived by the owner on Jul 12, 2019. It is now read-only.

Commit

Permalink
missing one change in merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack Birkenbuel committed Mar 30, 2015
1 parent 0e2d552 commit 9a4d5a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/restler.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ mixin(Request.prototype, {
self.request.end();
});
} else {
if (this.options.data) {
this.request.write(this.options.data, this.options.encoding || 'utf8');
if (this.data) {
this.request.write(this.data, this.options.encoding || 'utf8');
}
this.request.end();
}
Expand Down

0 comments on commit 9a4d5a6

Please sign in to comment.