Skip to content

Commit

Permalink
Merge 254e300 into 9337a91
Browse files Browse the repository at this point in the history
  • Loading branch information
jthomerson committed Jan 17, 2019
2 parents 9337a91 + 254e300 commit 7450e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class REQUEST {
), {})
)

// Set the multi-value query parameters (simulate if no mult-value support)
// Set the multi-value query parameters (simulate if no multi-value support)
this.multiValueQuery = Object.assign({},
this._multiValueSupport ? {} : Object.keys(this.query)
.reduce((qs,key) => Object.assign(qs, { [key]: [this.query[key]] }), {}),
Expand Down Expand Up @@ -263,7 +263,7 @@ class REQUEST {
this._logs.push(this.app._logger.log(...args))
}

// Recusive wildcard function
// Recursive wildcard function
validWildcard(wc) {
return Object.keys(wc[wc.length-1]['METHODS']).length > 1
|| (wc.length > 1 && this.validWildcard(wc.slice(0,-1)))
Expand Down

0 comments on commit 7450e86

Please sign in to comment.