reactionController: fix the response
This commit is contained in:
parent
fb80c9c2fe
commit
c4ea243bdc
|
@ -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…
Reference in New Issue