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

Method removeAttachment

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

Source from the content-addressed store, hash-verified

117 }
118 @Delete(':id/attachments/:attachmentId')
119 removeAttachment(@Param('id') id: string, @Param('attachmentId') attachmentId: string, @Req() req: RequestWithUser) {
120 return this.taskService.removeAttachment(id, attachmentId, req.user);
121 }
122}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected