mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: cast pubkey as string
This commit is contained in:
parent
a63dc8be4e
commit
9f24f35a21
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ const reblogStatusController: AppController = async (c) => {
|
||||||
/** https://docs.joinmastodon.org/methods/statuses/#unreblog */
|
/** https://docs.joinmastodon.org/methods/statuses/#unreblog */
|
||||||
const unreblogStatusController: AppController = async (c) => {
|
const unreblogStatusController: AppController = async (c) => {
|
||||||
const eventId = c.req.param('id');
|
const eventId = c.req.param('id');
|
||||||
const pubkey = c.get('pubkey')!;
|
const pubkey = c.get('pubkey') as string;
|
||||||
|
|
||||||
const event = await getEvent(eventId, {
|
const event = await getEvent(eventId, {
|
||||||
kind: 1,
|
kind: 1,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue