From f7a328d66e8f0ddb5d7b6ca815bf86bba98895bb Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 24 Nov 2019 17:09:32 +0900 Subject: Update dependencies :rocket: --- src/server/api/api-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/api/api-handler.ts') diff --git a/src/server/api/api-handler.ts b/src/server/api/api-handler.ts index a3be1f2aae..b147bca143 100644 --- a/src/server/api/api-handler.ts +++ b/src/server/api/api-handler.ts @@ -5,7 +5,7 @@ import authenticate from './authenticate'; import call from './call'; import { ApiError } from './error'; -export default (endpoint: IEndpoint, ctx: Koa.BaseContext) => new Promise((res) => { +export default (endpoint: IEndpoint, ctx: Koa.Context) => new Promise((res) => { const body = ctx.request.body; const reply = (x?: any, y?: ApiError) => { -- cgit v1.2.3-freya