small config change

This commit is contained in:
eugenp 2015-02-26 01:27:03 +02:00
parent ec08b04f98
commit 828e78138e
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class WebConfig extends WebMvcConfigurerAdapter {
}
@Bean
public RedditController redditController(@Qualifier("redditRestTemplate") OAuth2RestTemplate redditRestTemplate) {
public RedditController redditController(OAuth2RestTemplate redditRestTemplate) {
RedditController controller = new RedditController();
controller.setRedditRestTemplate(redditRestTemplate);
return controller;