This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 88d72799 authored by Michael Breu's avatar Michael Breu
Browse files

run prettier

parent 15908b43
2 merge requests!132Bringing July Release to production,!128Fixing #315 and #319
......@@ -48,7 +48,7 @@ public class GitSearchOAuth2AuthorizationRequestRepository implements Authorizat
String state = authorizationRequest.getState();
Assert.hasText(state, "authorizationRequest.state cannot be empty");
String referer = request.getHeader(REFERER_ATTRIBUTE);
if(referer==null) referer="/";
if (referer == null) referer = "/";
final Map<String, Object> requestAttributes = new ConcurrentHashMap<>(authorizationRequest.getAttributes());
requestAttributes.put(REFERER_ATTRIBUTE, referer);
OAuth2AuthorizationRequest extendedAuthorizationRequest = OAuth2AuthorizationRequest
......
......@@ -13,9 +13,9 @@ export class DeploymentInfo {
export class ApplicationInfoService {
private cachedDeploymentInfo: DeploymentInfo;
private inLoading = false;
private deploymentInfoBroker = new Subject<DeploymentInfo>();
constructor(private http: HttpClient, private applicationConfigService: ApplicationConfigService) {
this.cachedDeploymentInfo = {} as DeploymentInfo;
}
......
......@@ -10,9 +10,9 @@ export class FooterComponent implements OnInit {
constructor(public applicationInfoService: ApplicationInfoService) {}
ngOnInit(): void {
this.applicationInfoService.onDeploymentInfoChanged().subscribe(
depInfo => { this.deploymentInfo = depInfo;}
)
this.applicationInfoService.onDeploymentInfoChanged().subscribe(depInfo => {
this.deploymentInfo = depInfo;
});
this.deploymentInfo = this.applicationInfoService.getDeploymentInfo();
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment