MCPcopy Create free account
hub / github.com/adisreyaj/compito / addComment

Method addComment

apps/api/src/app/task/task.controller.ts:86–88  ·  view source on GitHub ↗
(@Param('id') id: string, @Body() data: { content: string }, @Req() req: RequestWithUser)

Source from the content-addressed store, hash-verified

84 @Permissions(PERMISSIONS.task.update)
85 @Post(':id/comments')
86 addComment(@Param('id') id: string, @Body() data: { content: string }, @Req() req: RequestWithUser) {
87 return this.taskService.addComment(id, data.content, req.user);
88 }
89
90 @UseGuards(RolesGuard, PermissionsGuard)
91 @Role('user')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected