refactor: cast pubkey as string

This commit is contained in:
P. Reis 2024-04-09 20:32:27 -03:00
parent a63dc8be4e
commit 9f24f35a21
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ const reblogStatusController: AppController = async (c) => {
/** https://docs.joinmastodon.org/methods/statuses/#unreblog */
const unreblogStatusController: AppController = async (c) => {
const eventId = c.req.param('id');
const pubkey = c.get('pubkey')!;
const pubkey = c.get('pubkey') as string;
const event = await getEvent(eventId, {
kind: 1,