aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-15 00:26:01 +0300
committerGravatar Vitaly Takmazov2018-08-15 00:26:01 +0300
commitf8963d4a127742552e8839c28ce54c38c48eb26d (patch)
tree2c3c515d155fc145232742abb08254b20c2155f9
parentc8487940bfd0e796e7fd572e543fe2cf88e191b1 (diff)
Fix telegram webhook conditional loading
-rw-r--r--juick-server/src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java b/juick-server/src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java
index 8497cff1..a8ffd6d1 100644
--- a/juick-server/src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java
+++ b/juick-server/src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java
@@ -40,7 +40,7 @@ import java.nio.charset.StandardCharsets;
*/
@ApiIgnore
@RestController
-@ConditionalOnProperty({"telegram_token", "telegram_debug"})
+@ConditionalOnProperty({"telegram_token"})
public class TelegramWebhook {
private static final Logger logger = LoggerFactory.getLogger(TelegramWebhook.class);
@Inject