(ctx: Koa.ParameterizedContext)
| 40 | } |
| 41 | |
| 42 | function apiError(ctx: Koa.ParameterizedContext) { |
| 43 | ctx.status = 403; |
| 44 | ctx.body = `${$t("TXT_CODE_permission.apiError")}`; |
| 45 | } |
| 46 | |
| 47 | function tooFast(ctx: Koa.ParameterizedContext) { |
| 48 | ctx.status = 500; |