Jeslin
1
<
About
//router
let item = {
author: req.body.author,
about: req.body.about,
image: new_image
}
Authordata.findByIdAndUpdate({_id:id},item)
.then((response)=>{
if(response){
res.redirect('/authors');
}
})
//All other form values are displayed />
Colin
2
Welcome to the forum @Jeslin
Unfortunately your post conveys nothing to me, I have no idea what you are asking about .
1 Like
system
Closed
3
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.