Merge branch 'emoji-resp' into 'main'

reactionController: fix the response

See merge request soapbox-pub/ditto!313
This commit is contained in:
Alex Gleason 2024-05-25 02:03:02 +00:00
commit ca755b6d77
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);
};