Skip to content

Commit

Permalink
Caching fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Firestone82 committed Apr 30, 2024
1 parent aa05528 commit 73e097e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class PartController {
private PartRepo partRepo;

@GetMapping("/parts")
@Cacheable(value = "parts", key="T(java.util.Objects).hash(#page, #limit, #filter, #sort, #include, #lazy)")
@Cacheable(value = "part", key="T(java.util.Objects).hash(#page, #limit, #filter, #sort, #include, #lazy)")
public ResponseEntity<RestPaginatedResult<Part>> getParts(
@RequestParam(defaultValue = "0") int page,
@RequestParam(defaultValue = "100") int limit,
Expand Down

0 comments on commit 73e097e

Please sign in to comment.