aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/config')
-rw-r--r--src/main/java/com/juick/config/AppConfig.java15
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() {