nodejs, multer, aws S3
问题 How do i apply uuid and date so that the filename stored in my database and the filename stored in my S3 bucket are the same? With this current implementation, the uuid and the date are always the same even if a post was made hours later. Can someone help, would really appreciate it. const s3 = new AWS.S3({ accessKeyId: process.env.AWS_ID, secretAccessKey: process.env.AWS_SECRET, region:process.env.AWS_REGION }) const uid =uuidv4(); const date =new Date().toISOString() const multerS3Config =