feature: added "external-premium" service-type
This commit is contained in:
parent
0da108e809
commit
66eb35bd31
5 changed files with 16 additions and 4 deletions
|
|
@ -62,7 +62,7 @@ bool ApiSettingsController::getAccountInfo(bool reload)
|
|||
|
||||
QByteArray responseBody;
|
||||
|
||||
if (apiUtils::getConfigType(serverConfig) == apiDefs::ConfigType::AmneziaPremiumV2) {
|
||||
if (apiUtils::isPremiumServer(serverConfig)) {
|
||||
ErrorCode errorCode = gatewayController.post(QString("%1v1/account_info"), apiPayload, responseBody);
|
||||
if (errorCode != ErrorCode::NoError) {
|
||||
emit errorOccurred(errorCode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue