mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
minor fix
This commit is contained in:
parent
1c77c0796b
commit
1b6845b8ad
@ -1,5 +1,4 @@
|
|||||||
import * as mongo from 'mongodb';
|
import * as mongo from 'mongodb';
|
||||||
import * as Koa from 'koa';
|
|
||||||
import * as Router from 'koa-router';
|
import * as Router from 'koa-router';
|
||||||
const json = require('koa-json-body');
|
const json = require('koa-json-body');
|
||||||
const httpSignature = require('http-signature');
|
const httpSignature = require('http-signature');
|
||||||
@ -20,7 +19,7 @@ const router = new Router();
|
|||||||
|
|
||||||
//#region Routing
|
//#region Routing
|
||||||
|
|
||||||
function inbox(ctx: Koa.Context) {
|
function inbox(ctx: Router.IRouterContext) {
|
||||||
let signature;
|
let signature;
|
||||||
|
|
||||||
ctx.req.headers.authorization = 'Signature ' + ctx.req.headers.signature;
|
ctx.req.headers.authorization = 'Signature ' + ctx.req.headers.signature;
|
||||||
|
Loading…
Reference in New Issue
Block a user