Update dependencies 🚀
This commit is contained in:
parent
50598bcefb
commit
f7a328d66e
21 changed files with 837 additions and 517 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue