Why is my destination prefix given [Object Object] as its output in AWS-SDK?
I am writing this code where im using aws sdk to copy files from one place to another dir, here destinationprefix is supposed to handle to destination directory, there the variable has to be put, idk why it is always copying the file in the dir -> main-dir/[object object] even that is not what I want
here is the code