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

Method remove

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

Source from the content-addressed store, hash-verified

24 }
25
26 async remove(ctx, next) {
27 const { commentId } = ctx.params;
28 const result = await service.remove(commentId);
29 ctx.body = result;
30 }
31
32 async list(ctx, next) {
33 const { momentId } = ctx.query;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected