Skip to content

Commit

Permalink
file => field
Browse files Browse the repository at this point in the history
...with correct spelling :)
  • Loading branch information
myarete authored and kornelski committed Feb 23, 2018
1 parent a6fc595 commit 038bd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ When you use `.field()` or `.attach()` you can't use `.send()` and you *must not

To send a file use `.attach(name, [file], [options])`. You can attach multiple files by calling `.attach` multiple times. The arguments are:

* `name`file name in the form.
* `name`field name in the form.
* `file` — either string with file path or `Blob`/`Buffer` object.
* `options` — (optional) either string with custom file name or `{filename: string}` object. In Node also `{contentType: 'mime/type'}` is supported. In browser create a `Blob` with an appropriate type instead.

Expand Down

0 comments on commit 038bd46

Please sign in to comment.