Added latest changes

This commit is contained in:
jj187 2021-10-16 20:54:54 +02:00
parent 6a8ce60434
commit 89a49ba786

View File

@ -32,6 +32,7 @@ public class DeleteTaskWebController {
// Check if the task with the given identifier exists // Check if the task with the given identifier exists
if (deleteATask.isEmpty()) { if (deleteATask.isEmpty()) {
// If not, through a 404 Not Found status code // If not, through a 404 Not Found status code
throw new ResponseStatusException(HttpStatus.NOT_FOUND); throw new ResponseStatusException(HttpStatus.NOT_FOUND);
} }