fix(@desktop/general): status.prod fleet is always used regardless of the fleet being chosen

This commit is contained in:
Sale Djenic 2023-10-16 21:48:07 +02:00 committed by saledjenic
parent f88c23dc7b
commit 428ac1a4de
1 changed files with 2 additions and 2 deletions

View File

@ -667,7 +667,7 @@ QtObject:
error "error: ", procName="verifyDatabasePassword", errName = e.name, errDesription = e.msg error "error: ", procName="verifyDatabasePassword", errName = e.name, errDesription = e.msg
proc doLogin(self: Service, account: AccountDto, hashedPassword, thumbnailImage, largeImage: string) = proc doLogin(self: Service, account: AccountDto, hashedPassword, thumbnailImage, largeImage: string) =
let nodeConfigJson = self.getDefaultNodeConfig(installationId = "", recoverAccount = false) let nodeConfigJson = self.getLoginNodeConfig()
let response = status_account.login( let response = status_account.login(
account.name, account.name,
account.keyUid, account.keyUid,
@ -749,7 +749,7 @@ QtObject:
"key-uid": accToBeLoggedIn.keyUid, "key-uid": accToBeLoggedIn.keyUid,
} }
let nodeConfigJson = self.getDefaultNodeConfig(installationId = "", recoverAccount = false) let nodeConfigJson = self.getLoginNodeConfig()
let response = status_account.loginWithKeycard(keycardData.whisperKey.privateKey, let response = status_account.loginWithKeycard(keycardData.whisperKey.privateKey,
keycardData.encryptionKey.publicKey, keycardData.encryptionKey.publicKey,