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

Class

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

Source from the content-addressed store, hash-verified

1const service = require('../service/label.service');
2
3class LabelController {
4 async create(ctx, next) {
5 const { name } = ctx.request.body;
6 const result = await service.create(name);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected