From the code you sent me in PM, I had a deep look at the following:
router.get('/:id', async (req, res, next) => {
const result = await getEventUseCase({
request: req,
id: req.params.id,
});
...
res.json(result.data);
});
Can you try the same but with res.json(result)
and not res.json(result.data)
please ?
Tell me if this works
Steve.