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

Method remove

src/controller/moment.controller.js:46–53  ·  view source on GitHub ↗
(ctx, next)

Source from the content-addressed store, hash-verified

44 }
45
46 async remove(ctx, next) {
47 // 1.获取momentId
48 const { momentId } = ctx.params;
49
50 // 2.删除内容
51 const result = await momentService.remove(momentId);
52 ctx.body = result;
53 }
54
55 async addLabels(ctx, next) {
56 // 1.获取标签和动态id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected