diff options
author | Vitaly Takmazov | 2023-11-11 02:09:21 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-11-11 02:09:47 +0300 |
commit | 20d999336b65fc0b68b1f77096c209877ac77245 (patch) | |
tree | ed114b1c5245b1d63344082eca6c8ad5f976d2aa /src/main/java/com/juick/config | |
parent | 6abbbe10f4b753bbc32e9760adc70ab1818beefa (diff) |
Do not use outdated Patreon library, use Rest API directly
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r-- | src/main/java/com/juick/config/AppConfig.java | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/main/java/com/juick/config/AppConfig.java b/src/main/java/com/juick/config/AppConfig.java index 2963ee27..77229d1b 100644 --- a/src/main/java/com/juick/config/AppConfig.java +++ b/src/main/java/com/juick/config/AppConfig.java @@ -19,16 +19,10 @@ package com.juick.config; import com.juick.*; import com.juick.model.User; -import com.juick.service.HelpService; -import com.juick.service.SignatureService; -import com.juick.service.StorageService; -import com.juick.service.FileSystemStorageService; -import com.juick.service.UserService; +import com.juick.service.*; import com.mitchellbosecke.pebble.extension.FormatterExtension; import com.overzealous.remark.Options; import com.overzealous.remark.Remark; - -import com.patreon.PatreonAPI; import io.pebbletemplates.pebble.PebbleEngine; import io.pebbletemplates.pebble.loader.ClasspathLoader; import io.pebbletemplates.pebble.loader.Loader; @@ -66,8 +60,6 @@ public class AppConfig { private Resource keystore; @Value("${keystore_password:secret}") private String keystorePassword; - @Value("${patreon_creator_access_token:secret}") - private String creatorAccessToken; @Bean KeystoreManager keystoreManager() { @@ -171,11 +163,6 @@ public class AppConfig { return new TopManager(); } - @Bean - PatreonAPI patreonClient() { - return new PatreonAPI(creatorAccessToken); - } - @Bean ViewResolver viewResolver() { |