diff --git a/src/main/java/com/uci/adapter/app/config/AppConfiguration1.java b/src/main/java/com/uci/adapter/app/config/AppConfiguration1.java index 442937c..7c700c0 100644 --- a/src/main/java/com/uci/adapter/app/config/AppConfiguration1.java +++ b/src/main/java/com/uci/adapter/app/config/AppConfiguration1.java @@ -77,7 +77,7 @@ public RestTemplate getJSONRestTemplate() { public String FUSIONAUTH_KEY; @Autowired - public Cache cache; + public CacheManager cacheManager; @Bean public FusionAuthClient getFAClient() { @@ -90,6 +90,6 @@ public BotService getBotService() { .baseUrl(CAMPAIGN_URL) .build(); - return new BotService(webClient, getFAClient(), cache); + return new BotService(webClient, getFAClient(), cacheManager); } }