Unexpected error in details view: TypeError: Cannot set properties of undefined (setting 'lid')


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,



Can you try the same but with res.json(result) and not res.json(result.data) please ?

Tell me if this works :hear_with_hearing_aid:


1 Like

Hello @Steve_Bunlon
Well, it seems like the error was mine, it indeed works.
Was sure it used to work but it seems we didn’t test enough.
I’m sorry to have bothered both of you with that :sweat_smile:
Best regards,

1 Like