Skip to content

Commit

Permalink
docs: Fixed the missing "=" in options.filter (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishi-121 authored May 8, 2021
1 parent 005736f commit bdb61f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ form.bytesExpected;
**Note:** use an outside variable to cancel all uploads upon the first error

```js
const options {
const options = {
filter: function ({name, originalFilename, mimetype}) {
// keep only images
return mimetype && mimetype.includes("image");
Expand Down

0 comments on commit bdb61f2

Please sign in to comment.