Hi. Does this still work [https://github.com/affanshahid/multer-storage-cloudinary/issues/4] ?
I get the error "Unexpected field" every time I try to upload a file that its not a image (mp3, mp4 etc).
I changed resource_type: to raw, video and auto but it doesnt work. It only works if I upload an image.
Hi. Does this still work [https://github.com/affanshahid/multer-storage-cloudinary/issues/4] ? I get the error "Unexpected field" every time I try to upload a file that its not a image (mp3, mp4 etc). I changed
resource_type:
to raw, video and auto but it doesnt work. It only works if I upload an image.Edit: I found the solution. You have to add ore more param: https://stackoverflow.com/questions/70672530/upload-audio-and-image-from-the-same-form-using-multer-storage-cloudinary/70685793#70685793