diff options
author | Vitaly Takmazov | 2018-08-15 00:26:01 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-08-15 00:26:01 +0300 |
commit | f8963d4a127742552e8839c28ce54c38c48eb26d (patch) | |
tree | 2c3c515d155fc145232742abb08254b20c2155f9 /juick-server/src/main/java/com/juick | |
parent | c8487940bfd0e796e7fd572e543fe2cf88e191b1 (diff) |
Fix telegram webhook conditional loading
Diffstat (limited to 'juick-server/src/main/java/com/juick')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java | 2 |
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 |