aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-07-23 00:07:56 +0300
committerGravatar Vitaly Takmazov2024-07-23 00:07:56 +0300
commit20ca0e31eff275b2e93aa532074640d4ed6790a0 (patch)
tree6aad5c23f410e64ef8d3f1b27d75c79bd771a84b
parente14d4612d313b7424b2163ba247843655c4dfca1 (diff)
Conditional premium monitoring
-rw-r--r--src/main/java/com/juick/config/AppConfig.java1
1 files changed, 1 insertions, 0 deletions
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();
}