aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-05-20 00:03:04 +0300
committerGravatar Vitaly Takmazov2016-05-20 00:03:04 +0300
commitc622ff7f5a99277c0c27da1eba527c1257471ae0 (patch)
tree5d15b76a43b87f7af82b25fe1a6d975dcc8f213e /src/main/java/com/juick/api
parent7fb8cdfb02c24c265a081499c858f3aca1efbb2b (diff)
fix sql
Diffstat (limited to 'src/main/java/com/juick/api')
-rw-r--r--src/main/java/com/juick/api/TelegramBotHook.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/api/TelegramBotHook.java b/src/main/java/com/juick/api/TelegramBotHook.java
index 8bbf0e33..48e6bccb 100644
--- a/src/main/java/com/juick/api/TelegramBotHook.java
+++ b/src/main/java/com/juick/api/TelegramBotHook.java
@@ -202,7 +202,7 @@ public class TelegramBotHook {
}
private List<Long> getSubscribers(int uid) {
return jdbc.queryForList("SELECT tg_id FROM telegram INNER JOIN subscr_users " +
- "ON (subscr_users.user_id=? AND telegram.user_id=subscr_users.suser_id)", Long.class, uid, uid);
+ "ON (subscr_users.user_id=? AND telegram.user_id=subscr_users.suser_id)", Long.class, uid);
}
private List<Long> getSubscribersToComments(int mid, int ignore_uid) {
return jdbc.queryForList("SELECT tg_id FROM telegram INNER JOIN subscr_messages " +