From 6f6b47b83d100657ecaad4ac17a7bed4fbd3f246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojta=20Stan=C4=9Bk?= Date: Mon, 24 Apr 2017 22:05:06 +0200 Subject: [PATCH] Fix readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a34a1e0..5b1a098 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ app.post('/upload', function(req, res) { The **req.files.foo** object will contain the following: * `req.files.foo.name`: "car.jpg" * `req.files.foo.mv`: A function to move the file elsewhere on your server -* `req.files.mimetype`: The mimetype of your file -* `req.files.data`: A buffer representation of your file +* `req.files.foo.mimetype`: The mimetype of your file +* `req.files.foo.data`: A buffer representation of your file ### Full Example **Your node.js code:**