Skip to content

Commit 0a02c59

Browse files
committed
add stashed changes from TaskCont
1 parent bd3dceb commit 0a02c59

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build/
55
!**/src/main/**/build/
66
!**/src/test/**/build/
77
*.db
8+
*.log
89

910
### Custom ###
1011
/node/

src/main/java/hexlet/code/controller/TaskController.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,7 @@ public TaskDTO updateTask(@RequestBody @Valid TaskDTO dto,
105105
@ApiResponse(responseCode = "200", description = "The task has been successfully deleted"),
106106
@ApiResponse(responseCode = "404", description = "The task is not found", content = @Content)})
107107
@DeleteMapping(path = "/{id}")
108-
<<<<<<< Updated upstream
109-
public void deleteTask(@PathVariable(name = "id") long id,
110-
@AuthenticationPrincipal UserDetails authDetails) {
111-
taskService.deleteTask(id, authDetails);
112-
=======
113108
public void deleteTask(@PathVariable(name = "id") long id) {
114109
taskService.deleteTask(id);
115-
>>>>>>> Stashed changes
116110
}
117111
}

0 commit comments

Comments
 (0)