0
0
Fork 0

フォルダ分け

This commit is contained in:
Xeltica 2020-09-08 20:05:22 +09:00
parent 046351a8fa
commit d20ac2c507
10 changed files with 21 additions and 21 deletions

View file

@ -1,6 +0,0 @@
import { Context } from 'koa';
export const die = (ctx: Context, error: string, status = 400): Promise<void> => {
ctx.status = status;
return ctx.render('error', { error });
};