diff --git a/main-app/main-webapp/src/main/java/gt/app/modules/article/ArticleRepository.java b/main-app/main-webapp/src/main/java/gt/app/modules/article/ArticleRepository.java index dc615bd..5d20ed3 100644 --- a/main-app/main-webapp/src/main/java/gt/app/modules/article/ArticleRepository.java +++ b/main-app/main-webapp/src/main/java/gt/app/modules/article/ArticleRepository.java @@ -43,7 +43,7 @@ public interface ArticleRepository extends AbstractRepository
, ArticleR @Override @Caching( evict = { - @CacheEvict(cacheNames = {"articleForReview"}, key = "#result.id"), + @CacheEvict(cacheNames = {"articleForReview", "articleRead"}, key = "#result.id"), @CacheEvict(cacheNames = {"previewForPublicHomePage", "previewAllWithFilesByUser", "getAllToReview"}, allEntries = true) } ) @@ -52,7 +52,7 @@ public interface ArticleRepository extends AbstractRepository
, ArticleR @Override @Caching( evict = { - @CacheEvict(cacheNames = {"articleForReview"}, key = "#id"), + @CacheEvict(cacheNames = {"articleForReview", "articleRead"}, key = "#id"), @CacheEvict(cacheNames = {"previewForPublicHomePage", "previewAllWithFilesByUser", "getAllToReview"}, allEntries = true) } )