commit
This commit is contained in:
parent
e1470db521
commit
cd74f8e71b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ router.post('/', async (req, res) => {
|
||||||
return res.status(400).send({error: "this game doesn't exist in the data base"})
|
return res.status(400).send({error: "this game doesn't exist in the data base"})
|
||||||
};
|
};
|
||||||
|
|
||||||
res.status(200).send(JSON.parse(helpers[0]));
|
res.status(200).send(JSON.parse(helpers[0].helpers));
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
Loading…
Add table
Add a link
Reference in a new issue