diff options
author | Vitaly Takmazov | 2018-12-03 17:15:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-12-03 17:15:37 +0300 |
commit | 7d021cbf6139bd830ed1db4199caa106aa14f22b (patch) | |
tree | b41036626d85e07b77e204a1cd5e3660d9b3d90c /src/main | |
parent | f418a0bfda83f6a19059209c7e7c5904d3e67a2a (diff) |
www: fix verified field calculation
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/juick/service/UserServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/service/UserServiceImpl.java b/src/main/java/com/juick/service/UserServiceImpl.java index 4d370631..93904139 100644 --- a/src/main/java/com/juick/service/UserServiceImpl.java +++ b/src/main/java/com/juick/service/UserServiceImpl.java @@ -66,7 +66,7 @@ public class UserServiceImpl extends BaseJdbcService implements UserService { if (seen != null) { user.setSeen(seen.toInstant()); } - user.setVerified(rs.getInt(6) > 0); + user.setVerified(rs.getLong(6) > 0); return user; } } |