mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-27 09:13:02 +00:00
minor fix
This commit is contained in:
parent
8d81bd0dc0
commit
1f1ed2da4c
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue