From 038bd464d80c5991c16326b7b9c8d1ad308faf8a Mon Sep 17 00:00:00 2001 From: Chris Date: Fri, 23 Feb 2018 08:33:37 -0600 Subject: [PATCH] file => field ...with correct spelling :) --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index abc62d0c4..c65c8ae5f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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.