diff --git a/src/controllers/api/statuses.ts b/src/controllers/api/statuses.ts index 89b6c3c..b8873a9 100644 --- a/src/controllers/api/statuses.ts +++ b/src/controllers/api/statuses.ts @@ -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,