Skip to content

Commit

Permalink
Add missing typing for withCredentials()
Browse files Browse the repository at this point in the history
  • Loading branch information
romainmnr authored Nov 24, 2022
1 parent e8d5326 commit 68a14c8
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 68a14c8

Please sign in to comment.