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

Method update

apps/api/src/app/task/task.controller.ts:78–80  ·  view source on GitHub ↗
(@Param('id') id: string, @Body() task: TaskRequest, @Req() req: RequestWithUser)

Source from the content-addressed store, hash-verified

76 @Permissions(PERMISSIONS.task.update)
77 @Patch(':id')
78 update(@Param('id') id: string, @Body() task: TaskRequest, @Req() req: RequestWithUser) {
79 return this.taskService.update(id, task, req.user);
80 }
81
82 @UseGuards(RolesGuard, PermissionsGuard)
83 @Role('user')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected