Skip to content

Commit

Permalink
Merge pull request #1752 from romainmnr/patch-1
Browse files Browse the repository at this point in the history
Add missing typing for withCredentials()
  • Loading branch information
titanism authored Nov 25, 2022
2 parents 79374d6 + 68a14c8 commit ca42089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/request-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,8 @@ RequestBase.prototype._auth = function (user, pass, options, base64Encoder) {
* using "Access-Control-Allow-Origin" with a wildcard,
* and also must set "Access-Control-Allow-Credentials"
* to "true".
*
* @param {Boolean} [on=true] - Set 'withCredentials' state
* @return {Request} for chaining
* @api public
*/

Expand Down

0 comments on commit ca42089

Please sign in to comment.