Skip to content

Commit

Permalink
docs: fix typo in res.download jsdoc
Browse files Browse the repository at this point in the history
closes #4805
  • Loading branch information
caioagiani authored and dougwilson committed Feb 4, 2022
1 parent 744564f commit 89bb531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/response.js
Expand Up @@ -524,7 +524,7 @@ res.sendfile = deprecate.function(res.sendfile,
* Optionally providing an alternate attachment `filename`,
* and optional callback `callback(err)`. The callback is invoked
* when the data transfer is complete, or when an error has
* ocurred. Be sure to check `res.headersSent` if you plan to respond.
* occurred. Be sure to check `res.headersSent` if you plan to respond.
*
* Optionally providing an `options` object to use with `res.sendFile()`.
* This function will set the `Content-Disposition` header, overriding
Expand Down

0 comments on commit 89bb531

Please sign in to comment.