aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-07-19 13:25:06 +0300
committerGravatar Vitaly Takmazov2024-07-20 22:58:16 +0300
commite14d4612d313b7424b2163ba247843655c4dfca1 (patch)
treee9cf4ce93be54f77fe500019325e3d3463bab2f6 /src/main/java/com/juick/config
parent5c71aa619e5e64babaf52aec7c01204ed02ffe69 (diff)
Update premium status on login
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r--src/main/java/com/juick/config/AppConfig.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/com/juick/config/AppConfig.java b/src/main/java/com/juick/config/AppConfig.java
index 64ccfcf9..ad9825de 100644
--- a/src/main/java/com/juick/config/AppConfig.java
+++ b/src/main/java/com/juick/config/AppConfig.java
@@ -161,4 +161,9 @@ public class AppConfig {
WatchdogService watchdogService() {
return new SystemdWatchdogService();
}
+
+ @Bean
+ PremiumManager premiumManager() {
+ return new PremiumManager();
+ }
}