diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 4bfd46e8d591..a5d969aee559 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -445103,7 +445103,7 @@ call$0() { var $async$goto = 0, $async$completer = A._makeAsyncAwaitCompleter(type$.Null), - $async$returnValue, $async$self = this, t1, t2; + $async$returnValue, $async$self = this, t3, t1, t2; var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) { if ($async$errorCode === 1) return A._asyncRethrow($async$result, $async$completer); @@ -445120,12 +445120,13 @@ break; } t2 = t2.selectedCompanyIndex; - t2 = t1.userCompanyStates._list[t2].userCompany.user; - t1 = t2.oauthProvider; - if ((t1 === "google" || t1 === "microsoft") && t2.oauthUserToken.length !== 0) + t2 = t1.userCompanyStates._list[t2].userCompany; + t1 = t2.user; + t3 = t1.oauthProvider; + if ((t3 === "google" || t3 === "microsoft") && t1.oauthUserToken.length !== 0) $async$self.viewModel.onDisconnectMicrosoftEmailPressed.call$1($async$self.context); else - A.launch("https://invoicing.co/auth/microsoft", null, false); + A.launch(t2.account.defaultUrl + "/auth/microsoft", null, false); case 1: // return return A._asyncReturn($async$returnValue, $async$completer);