Skip to content

Commit

Permalink
[EXD-67] Fixed / updated method descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-piela-ssh committed May 17, 2024
1 parent 69826cd commit 3437f25
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/canvas/canvas.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class CanvasController {
}

/**
* Give access to canvases with a given tag for selected users
* Gives access to canvases with tags from the given list for selected users
* @param dto - an object containing 'tagIds' & 'personIds'
* @param req - HTTP request object
*/
Expand All @@ -301,7 +301,7 @@ export class CanvasController {
}

/**
* Cancel access to canvases with a given tag for selected users
* Removes access to canvases with tags from the given list
* @param dto - an object containing 'tagIds'
* @param req - HTTP request object
*/
Expand All @@ -318,9 +318,9 @@ export class CanvasController {
}

/**
* Adds a single tag to a canvas
* Adds tags to a canvas
* @param canvasId
* @param dto - an object containing 'tagId'
* @param dto - an object containing 'tagIds'
*/
@Post('/:id/tags')
@UseGuards(AuthenticatedGuard, CanvasGuard)
Expand All @@ -333,9 +333,9 @@ export class CanvasController {
}

/**
* Removes a single tag from a canvas
* Removes tags from a canvas
* @param canvasId
* @param dto - an object containing 'tagId'
* @param dto - an object containing 'tagIds'
*/
@Delete('/:id/tags')
@UseGuards(AuthenticatedGuard, CanvasGuard)
Expand Down

0 comments on commit 3437f25

Please sign in to comment.