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

Method create

apps/api/src/app/project/project.controller.ts:25–27  ·  view source on GitHub ↗
(@Body() project: ProjectRequest, @Req() req: RequestWithUser)

Source from the content-addressed store, hash-verified

23 @Post()
24 @UsePipes(new JoiValidationPipe(createProjectValidationSchema))
25 create(@Body() project: ProjectRequest, @Req() req: RequestWithUser) {
26 return this.projectService.create(project, req.user);
27 }
28
29 @UseGuards(PermissionsGuard)
30 @Permissions(PERMISSIONS.project.read)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected