reactionController: fix the response

This commit is contained in:
Alex Gleason 2024-05-24 20:59:53 -05:00
parent fb80c9c2fe
commit c4ea243bdc
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@ const reactionController: AppController = async (c) => {
tags: [['e', id]],
}, c);
const status = renderStatus(event, { viewerPubkey: await signer.getPublicKey() });
await hydrateEvents({ events: [event], store });
const status = await renderStatus(event, { viewerPubkey: await signer.getPublicKey() });
return c.json(status);
};