Skip to content

Commit

Permalink
category_hw, swagger, @Valid added to CategoryController, liquibase 0…
Browse files Browse the repository at this point in the history
…6, nullable added to 21
  • Loading branch information
ChabVlad committed Sep 24, 2024
1 parent 2ea5d69 commit a596c64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public CategoryDto getById(Long id) {
return categoryMapper.toDto(
categoryRepository
.findById(id)
.orElseThrow(() -> new EntityNotFoundException("Category not found by id " + id)));
.orElseThrow(() ->
new EntityNotFoundException("Category not found by id " + id)));
}

@Override
Expand Down

0 comments on commit a596c64

Please sign in to comment.