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

Class

src/controller/comment.controller.js:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const service = require('../service/comment.service.js');
2
3class CommentController {
4 async create(ctx, next) {
5 const { momentId, content } = ctx.request.body;
6 const { id } = ctx.user;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected