Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Use CHE_API_EXTERNAL for OauthUtils
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Dec 15, 2020
1 parent 255ad69 commit 79430a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class OauthUtils {
) {
const onDidReceiveTokenEmitter = new Emitter<void>();
this.onDidReceiveToken = onDidReceiveTokenEmitter.event;
this.envVariableServer.getValue('CHE_API').then(variable => {
this.envVariableServer.getValue('CHE_API_EXTERNAL').then(variable => {
if (variable && variable.value) {
this.apiUrl = variable.value;
}
Expand Down

0 comments on commit 79430a1

Please sign in to comment.