Skip to content

Commit

Permalink
Merge pull request #95 from jbergknoff/master
Browse files Browse the repository at this point in the history
Update requests.js
  • Loading branch information
rakyll committed Oct 30, 2013
2 parents 0697b8f + 076b4b9 commit ce337ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Request.prototype.generateBody = function(rootUrl) {
*/
Request.prototype.generateUploadBody = function(rootUrl) {
var params = this.params || {};
rootUrl.replace(/\/+$/, ''); // Remove any trailing slashes.
rootUrl = rootUrl.replace(/\/+$/, ''); // Remove any trailing slashes.

if (!this.body) {
params.uploadType = 'media';
Expand Down

0 comments on commit ce337ce

Please sign in to comment.