From 9694c1fc37adfd9cab4123731b5297c5219c3d9e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Apr 2018 23:57:41 +0900 Subject: [PATCH] Refactor: Specify return type --- src/processor/http/process-inbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/http/process-inbox.ts b/src/processor/http/process-inbox.ts index 8ceb08257..f102f8d6b 100644 --- a/src/processor/http/process-inbox.ts +++ b/src/processor/http/process-inbox.ts @@ -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 => { const keyIdLower = data.signature.keyId.toLowerCase(); let user;