フォルダ分け
This commit is contained in:
parent
046351a8fa
commit
d20ac2c507
10 changed files with 21 additions and 21 deletions
|
@ -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 });
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue