mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-30 15:58:09 +09:00
Refactor: Specify return type
This commit is contained in:
parent
a6f63e055a
commit
9694c1fc37
@ -5,7 +5,7 @@ import act from '../../remote/activitypub/act';
|
||||
import resolvePerson from '../../remote/activitypub/resolve-person';
|
||||
import Resolver from '../../remote/activitypub/resolver';
|
||||
|
||||
export default async ({ data }) => {
|
||||
export default async ({ data }): Promise<void> => {
|
||||
const keyIdLower = data.signature.keyId.toLowerCase();
|
||||
let user;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user