From 7692b9f126de590d8d1db3e4bed2b4c9c1345e25 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 25 Jun 2022 08:33:55 +0300 Subject: `likes` field returns recommendations count --- src/main/java/com/juick/service/MessagesServiceImpl.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/main/java/com/juick/service') diff --git a/src/main/java/com/juick/service/MessagesServiceImpl.java b/src/main/java/com/juick/service/MessagesServiceImpl.java index 77200077..e54c23cb 100644 --- a/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -92,7 +92,6 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ msg.FriendsOnly = msg.getPrivacy() < 0; msg.setReplies(rs.getInt(10)); msg.setAttachmentType(rs.getString(11)); - msg.setLikes(rs.getInt(12)); msg.Hidden = rs.getBoolean(13); String tagsStr = StringUtils.defaultString(rs.getString(14)); msg.setTags(MessageUtils.parseTags(tagsStr)); -- cgit v1.2.3