bugfix: fixed sending requests if there are no premium v1 keys in the application (#1599)
This commit is contained in:
parent
a3e73797c2
commit
a6508e642a
1 changed files with 12 additions and 10 deletions
|
@ -29,6 +29,7 @@ bool ApiPremV1MigrationController::hasConfigsToMigration()
|
|||
vpnKeys.append(vpnKey);
|
||||
}
|
||||
|
||||
if (!vpnKeys.isEmpty()) {
|
||||
GatewayController gatewayController(m_settings->getGatewayEndpoint(), m_settings->isDevGatewayEnv(), apiDefs::requestTimeoutMsecs,
|
||||
m_settings->isStrictKillSwitchEnabled());
|
||||
QJsonObject apiPayload;
|
||||
|
@ -43,6 +44,7 @@ bool ApiPremV1MigrationController::hasConfigsToMigration()
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue