From e14d4612d313b7424b2163ba247843655c4dfca1 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 19 Jul 2024 13:25:06 +0300 Subject: Update premium status on login --- src/main/java/com/juick/config/AppConfig.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main/java/com/juick/config') 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(); + } } -- cgit v1.2.3