From 1f1ed2da4c87120fc0018d47c51e6571e4ad3b84 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Sun, 17 Jun 2018 17:21:16 +0900 Subject: [PATCH] minor fix --- src/server/activitypub.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts index f406328dcb..1fbc621e91 100644 --- a/src/server/activitypub.ts +++ b/src/server/activitypub.ts @@ -1,5 +1,4 @@ import * as mongo from 'mongodb'; -import * as Koa from 'koa'; import * as Router from 'koa-router'; const json = require('koa-json-body'); const httpSignature = require('http-signature'); @@ -20,7 +19,7 @@ const router = new Router(); //#region Routing -function inbox(ctx: Koa.Context) { +function inbox(ctx: Router.IRouterContext) { let signature; ctx.req.headers.authorization = 'Signature ' + ctx.req.headers.signature;