Skip to content

Commit

Permalink
chore: reset desktop app version to 0.25.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvilla committed Mar 29, 2024
1 parent 0bd2b9e commit bcca708
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/desktop-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Leapp",
"version": "0.25.3",
"version": "0.25.2",
"private": true,
"author": {
"name": "Noovolari",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
import { IAwsSsoOidcVerificationWindowService } from "@noovolari/leapp-core/interfaces/i-aws-sso-oidc-verification-window-service";
import { WindowService } from "./window.service";
import { MessageToasterService, ToastLevel } from "./message-toaster.service";
import { AwsCoreService } from "@noovolari/leapp-core/services/aws-core-service";
import { AppProviderService } from "./app-provider.service";

@Injectable({ providedIn: "root" })
export class AppVerificationWindowService implements IAwsSsoOidcVerificationWindowService {
constructor(private windowService: WindowService, private toasterService: MessageToasterService, private awsCoreService: AwsCoreService) {}
constructor(private windowService: WindowService, private toasterService: MessageToasterService, private appProviderService: AppProviderService) {}

async openVerificationWindow(
registerClientResponse: RegisterClientResponse,
Expand Down Expand Up @@ -101,7 +101,9 @@ export class AppVerificationWindowService implements IAwsSsoOidcVerificationWind
}

private getAssociateTokenUrls() {
return this.awsCoreService.getRegions().map((region) => `https://oidc.${region.region}.amazonaws.com/device_authorization/associate_token`);
return this.appProviderService.awsCoreService
.getRegions()
.map((region) => `https://oidc.${region.region}.amazonaws.com/device_authorization/associate_token`);
}

private async openExternalVerificationBrowserWindow(
Expand Down

0 comments on commit bcca708

Please sign in to comment.