Skip to content
Snippets Groups Projects
Commit 1dcd6dae authored by Sutton's avatar Sutton
Browse files

Adding iappproperties back

parent 86074d0c
No related branches found
No related tags found
1 merge request!60CORS Fix, AWS Updates
Checking pipeline status
......@@ -32,8 +32,8 @@ import javax.inject.Inject;
@Component
public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlementsFactory> {
@Value("${AUTHORIZE_API}")
public String AUTHORIZE_API;
@Autowired
private IAppProperties config;
@Inject
private HttpResponseBodyMapper httpResponseBodyMapper;
......@@ -42,7 +42,7 @@ public class EntitlementsClientFactory extends AbstractFactoryBean<IEntitlements
protected IEntitlementsFactory createInstance() {
return new EntitlementsFactory(EntitlementsAPIConfig
.builder()
.rootUrl(AUTHORIZE_API)
.rootUrl(config.getAuthorizeAPI())
.build(), httpResponseBodyMapper);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment