mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-27 17:24:19 +01:00
refactor: cast pubkey as string
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user