Skip to content

Commit e90a78f

Browse files
committed
CollectionServiceImpl.isSeriesInCollection(): fix @transactional annotation.
Reported by: Sergey Chechenev <[email protected]> Correction for 227b9a5 commit. No functional changes.
1 parent 845a8de commit e90a78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/service/CollectionServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public UrlEntityDto removeFromCollection(Integer userId, Integer seriesId) {
101101
}
102102

103103
@Override
104-
@Transactional(readOnly = false)
104+
@Transactional(readOnly = true)
105105
public boolean isSeriesInCollection(Integer userId, Integer seriesId) {
106106
Validate.isTrue(seriesId != null, "Series id must be non null");
107107

0 commit comments

Comments
 (0)