From 0391bc1b8ec7be48fc0d57ca89f0cb4ba97d4ba3 Mon Sep 17 00:00:00 2001 From: wolfganggreschus Date: Wed, 25 Oct 2023 09:25:57 +0200 Subject: [PATCH] empty create-task function added --- apps/server/src/modules/task/controller/task.controller.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/server/src/modules/task/controller/task.controller.ts b/apps/server/src/modules/task/controller/task.controller.ts index 44911973ffd..8780cb97129 100644 --- a/apps/server/src/modules/task/controller/task.controller.ts +++ b/apps/server/src/modules/task/controller/task.controller.ts @@ -96,6 +96,11 @@ export class TaskController { return dto; } + createTask(@CurrentUser() currentUser: ICurrentUser, @Body() params: string) { + const dto = 'unknown'; + return dto; + } + @Delete(':taskId') async delete(@Param() urlParams: TaskUrlParams, @CurrentUser() currentUser: ICurrentUser): Promise { const result = await this.taskUc.delete(currentUser.userId, urlParams.taskId);