aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com/juick/service')
-rw-r--r--juick-server/src/main/java/com/juick/service/UserServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
index 05ef4c95..b1339049 100644
--- a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
@@ -372,7 +372,7 @@ public class UserServiceImpl extends BaseJdbcService implements UserService {
return list.isEmpty() ? defaultValue : list.get(0);
}
- @Transactional(readOnly = true)
+ @Transactional
@Override
public int setUserOptionInt(final int uid, final String option, final int value) {
if (StringUtils.isBlank(option))