Req.file returns [object, object] when trying to upload picture using multer and cloudinary

I am trying to save an image from a form using multer and cloudinary but the only thing that gets returned in the request.file and request.body is [object, object] my app.js file const multer = require(“multer”); const cloudinary = require(“cloudinary”); const cloudinaryStorage = require(“multer-storage-cloudinary”); cloudinary.config({ cloud_name: process.env.CLOUD_NAME, api_key: process.env.API_KEY, api_secret: process.env.API_SECRET }); const storage =…

Details