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

Method create

apps/api/src/app/task/task.controller.ts:34–36  ·  view source on GitHub ↗
(@Body() task: TaskRequest, @Req() req: RequestWithUser)

Source from the content-addressed store, hash-verified

32 @Permissions(PERMISSIONS.task.create)
33 @Post()
34 create(@Body() task: TaskRequest, @Req() req: RequestWithUser) {
35 return this.taskService.create(task, req.user);
36 }
37
38 @UseGuards(RolesGuard, PermissionsGuard)
39 @Role('user')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected