diff options
author | Vitaly Takmazov | 2016-05-13 16:32:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-05-13 16:32:24 +0300 |
commit | 0400e141715d44e6cb8f25a3709e86a2d1ac7a1a (patch) | |
tree | e134bf7a98fef37b9fd4aee3beac109abaf276b4 | |
parent | 9cd79ef58a443289aa6756e8fbfabf5fe9ac8630 (diff) |
fix typo
-rw-r--r-- | src/main/java/com/juick/api/TelegramBotHook.java | 2 |
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 05b99b02..c68d829a 100644 --- a/src/main/java/com/juick/api/TelegramBotHook.java +++ b/src/main/java/com/juick/api/TelegramBotHook.java @@ -132,7 +132,7 @@ public class TelegramBotHook { } } private boolean createTelegramUser(long tgID, String tgName) { - return jdbc.update("INSERT INTO telegram(tg_ig, tg_name, loginhash) VALUES(?,?,?)", + return jdbc.update("INSERT INTO telegram(tg_id, tg_name, loginhash) VALUES(?,?,?)", tgID, tgName, UUID.randomUUID().toString()) > 0; } } |