mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
reactionController: fix the response
This commit is contained in:
parent
fb80c9c2fe
commit
c4ea243bdc
1 changed files with 3 additions and 1 deletions
|
|
@ -33,7 +33,9 @@ const reactionController: AppController = async (c) => {
|
||||||
tags: [['e', id]],
|
tags: [['e', id]],
|
||||||
}, c);
|
}, 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);
|
return c.json(status);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue