Skip to content

Commit

Permalink
empty create-task function added
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfganggreschus committed Oct 25, 2023
1 parent 88c6f4e commit 0391bc1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/server/src/modules/task/controller/task.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ export class TaskController {
return dto;
}

createTask(@CurrentUser() currentUser: ICurrentUser, @Body() params: string) {

Check failure on line 99 in apps/server/src/modules/task/controller/task.controller.ts

View workflow job for this annotation

GitHub Actions / nest_lint

'currentUser' is defined but never used

Check failure on line 99 in apps/server/src/modules/task/controller/task.controller.ts

View workflow job for this annotation

GitHub Actions / nest_lint

'params' is defined but never used
const dto = 'unknown';
return dto;
}

@Delete(':taskId')
async delete(@Param() urlParams: TaskUrlParams, @CurrentUser() currentUser: ICurrentUser): Promise<boolean> {
const result = await this.taskUc.delete(currentUser.userId, urlParams.taskId);
Expand Down

0 comments on commit 0391bc1

Please sign in to comment.