(ctx, next)
| 2 | |
| 3 | class LabelController { |
| 4 | async create(ctx, next) { |
| 5 | const { name } = ctx.request.body; |
| 6 | const result = await service.create(name); |
| 7 | ctx.body = result; |
| 8 | } |
| 9 | |
| 10 | async list(ctx, next) { |
| 11 | const { limit, offset } = ctx.query; |
nothing calls this directly
no outgoing calls
no test coverage detected