Skip to content

Commit

Permalink
Remove two more spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
simov committed Dec 29, 2014
1 parent 3ba858b commit 15289e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.js
Original file line number Diff line number Diff line change
Expand Up @@ -1646,12 +1646,12 @@ Request.prototype.oauth = function (_oauth) {
query = self.uri.query
}

var transport = _oauth.transport_method || 'header'
var transport = _oauth.transport_method || 'header'
if (transport === 'body' && (
self.method !== 'POST' || contentType !== formContentType)) {

throw new Error('oauth.transport_method of \'body\' requires \'POST\' ' +
'and content-type \'' + formContentType + '\'')
'and content-type \'' + formContentType + '\'')
}

delete _oauth.transport_method
Expand Down

0 comments on commit 15289e6

Please sign in to comment.