From f8963d4a127742552e8839c28ce54c38c48eb26d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 15 Aug 2018 00:26:01 +0300 Subject: Fix telegram webhook conditional loading --- .../src/main/java/com/juick/server/api/webhooks/TelegramWebhook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src/main/java/com/juick/server') 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 -- cgit v1.2.3