---
title: "Comment by Fernando Torres on \"Build a REST API with Node.js: Upload an Image File\" | Hashnode"
description: "Hi again! There&#39;s a typo on Step 3 on this post. It&#39;s a missing closing parenthesis. The code should be: const uploadImg = multer({ storage : storage })"
url: "https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df/comment/5f718850eb14b172f1d4b9d5"
---

[Discussion](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df)

Comment [Build a REST API with Node.js: Upload an Image File](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df)

[Fernando Torres](https://hashnode.com/@fertorresmx)

[Sep 28, 2020](https://hashnode.com/posts/build-rest-api-with-nodejs-upload-files-mongodb/5f2cb59d3b12e25afe3e42df/comment/5f718850eb14b172f1d4b9d5)

Hi again!

There's a typo on Step 3 on this post. It's a missing closing parenthesis.

The code should be:

```
const uploadImg = multer({storage: storage}).single('image');
```
