Skip to content

Commit

Permalink
FR-14342 - update selected region when manual initialization in ionic…
Browse files Browse the repository at this point in the history
… sdk
  • Loading branch information
frontegg-david committed Dec 20, 2023
1 parent 8bda1bb commit eb8d63c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/FronteggSwift/FronteggAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public class FronteggAuth: ObservableObject {
self.lateInit = false
self.isRegional = true
self.regionData = regions
self.selectedRegion = self.getSelectedRegion()

if let config = self.selectedRegion {
self.baseUrl = config.baseUrl
Expand Down

0 comments on commit eb8d63c

Please sign in to comment.