Skip to content

Commit

Permalink
fixed double bean of Token service
Browse files Browse the repository at this point in the history
  • Loading branch information
fsjovatsen committed May 22, 2019
1 parent dcbd7ff commit 481e448
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/no/fint/oauth/OAuthConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public OAuthRestTemplateFactory oAuthRestTemplateFactory() {
return new OAuthRestTemplateFactory();
}

@Bean
public TokenService tokenService() {
return new TokenService();
}
//@Bean
//public TokenService tokenService() {
//return new TokenService();
//}

}

0 comments on commit 481e448

Please sign in to comment.