0
0

Merge pull request #1735 from rinsuki/fix/minor-fix-201806171721

minor fix
This commit is contained in:
syuilo 2018-06-17 17:21:50 +09:00 committed by GitHub
commit cbddaf1d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;