Update dependencies 🚀

This commit is contained in:
syuilo
2019-11-24 17:09:32 +09:00
parent 50598bcefb
commit f7a328d66e
21 changed files with 837 additions and 517 deletions

View File

@ -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) => {