Skip to content

Commit

Permalink
docs: fix typo in jsdoc comment
Browse files Browse the repository at this point in the history
closes #3859
  • Loading branch information
Louis authored and dougwilson committed Apr 16, 2019
1 parent 186a206 commit 6f12eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ res.clearCookie = function clearCookie(name, options) {
* // "Remember Me" for 15 minutes
* res.cookie('rememberme', '1', { expires: new Date(Date.now() + 900000), httpOnly: true });
*
* // save as above
* // same as above
* res.cookie('rememberme', '1', { maxAge: 900000, httpOnly: true })
*
* @param {String} name
Expand Down

0 comments on commit 6f12eee

Please sign in to comment.