MCPcopy Create free account
hub / github.com/coderwhy/coderhub / reply

Method reply

src/controller/comment.controller.js:11–17  ·  view source on GitHub ↗
(ctx, next)

Source from the content-addressed store, hash-verified

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;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected