Force parse JSON MoreInfo

pull/1/head
Jéluchu 5 years ago
parent 0338861c0f
commit 778b3cd682

@ -174,7 +174,7 @@ router.get('/moreInfo/:title' , (req, res) =>{
.then(info =>{ .then(info =>{
if (info.length > 0) { if (info.length > 0) {
res.status(200).json({ res.status(200).json({
info info: JSON.parse(JSON.stringify(info))
}); });
} else { res.status(404) } } else { res.status(404) }
}).catch((err) =>{ }).catch((err) =>{

Loading…
Cancel
Save