(ctx, next)
| 17 | } |
| 18 | |
| 19 | async update(ctx, next) { |
| 20 | const { commentId } = ctx.params; |
| 21 | const { content } = ctx.request.body; |
| 22 | const result = await service.update(commentId, content); |
| 23 | ctx.body = result; |
| 24 | } |
| 25 | |
| 26 | async remove(ctx, next) { |
| 27 | const { commentId } = ctx.params; |
nothing calls this directly
no outgoing calls
no test coverage detected