(ctx, next)
| 9 | } |
| 10 | |
| 11 | async reply(ctx, next) { |
| 12 | const { momentId, content } = ctx.request.body; |
| 13 | const { commentId } = ctx.params; |
| 14 | const { id } = ctx.user; |
| 15 | const result = await service.reply(momentId, content, id, commentId); |
| 16 | ctx.body = result; |
| 17 | } |
| 18 | |
| 19 | async update(ctx, next) { |
| 20 | const { commentId } = ctx.params; |
nothing calls this directly
no outgoing calls
no test coverage detected