From 20ca0e31eff275b2e93aa532074640d4ed6790a0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 23 Jul 2024 00:07:56 +0300 Subject: Conditional premium monitoring --- src/main/java/com/juick/config/AppConfig.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/main/java/com/juick/config/AppConfig.java b/src/main/java/com/juick/config/AppConfig.java index ad9825de..15f4a3a1 100644 --- a/src/main/java/com/juick/config/AppConfig.java +++ b/src/main/java/com/juick/config/AppConfig.java @@ -163,6 +163,7 @@ public class AppConfig { } @Bean + @ConditionalOnProperty("vk_appid") PremiumManager premiumManager() { return new PremiumManager(); } -- cgit v1.2.3