Skip to content

Commit 89bb531

Browse files
caioagianidougwilson
authored andcommitted
docs: fix typo in res.download jsdoc
closes #4805
1 parent 744564f commit 89bb531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/response.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ res.sendfile = deprecate.function(res.sendfile,
524524
* Optionally providing an alternate attachment `filename`,
525525
* and optional callback `callback(err)`. The callback is invoked
526526
* when the data transfer is complete, or when an error has
527-
* ocurred. Be sure to check `res.headersSent` if you plan to respond.
527+
* occurred. Be sure to check `res.headersSent` if you plan to respond.
528528
*
529529
* Optionally providing an `options` object to use with `res.sendFile()`.
530530
* This function will set the `Content-Disposition` header, overriding

0 commit comments

Comments
 (0)