fix: mochaが動かないため拡張子なしに戻した

This commit is contained in:
syuilo 2021-08-19 21:55:45 +09:00
parent e9f34a0f09
commit 42cc93dd0f
657 changed files with 3085 additions and 3085 deletions

View file

@ -1,9 +1,9 @@
import * as Koa from 'koa';
import { IEndpoint } from './endpoints.js';
import authenticate, { AuthenticationError } from './authenticate.js';
import call from './call.js';
import { ApiError } from './error.js';
import { IEndpoint } from './endpoints';
import authenticate, { AuthenticationError } from './authenticate';
import call from './call';
import { ApiError } from './error';
export default (endpoint: IEndpoint, ctx: Koa.Context) => new Promise((res) => {
const body = ctx.request.body;