Question: my app is delete files using js and exprese,multer but I have problem all files related one object id and all files is deleted ,i

my app is delete files using js and exprese,multer

but I have problem all files related one object id and all files is deleted ,i want remove one file or more

for each file is object , related index for example first files index 0

like list image

please completed my code

my app is delete files using js and exprese,multer but I haveproblem all files related one object id and all files is deleted,i want remove one file or more for each file is object, related index for example first files index 0 like list image

router. delete( / deleteFiles/:id', jwtHelper.verifyJwtToken, removefiles) module. exports=\{ routes: router

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!