(req, file, cb)
| 32 | acl: 'public-read', |
| 33 | contentType: multerS3.AUTO_CONTENT_TYPE, |
| 34 | key(req, file, cb) { |
| 35 | cb(null, file.originalname); |
| 36 | }, |
| 37 | }); |
| 38 | const uploadS3 = multer({ storage: storageS3 }); |
| 39 | router.post('/s3', uploadS3.single('image'), (req, res) => { |
nothing calls this directly
no outgoing calls
no test coverage detected