mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
fixed serviceType|userCountryCode
This commit is contained in:
@@ -203,7 +203,7 @@ QJsonObject PairingController::buildScanQrPayload(const QString &qrUuid, const Q
|
|||||||
o[apiDefs::key::installationUuid] = m_appSettingsRepository->getInstallationUuid(true);
|
o[apiDefs::key::installationUuid] = m_appSettingsRepository->getInstallationUuid(true);
|
||||||
o[apiDefs::key::appVersion] = QString(APP_VERSION);
|
o[apiDefs::key::appVersion] = QString(APP_VERSION);
|
||||||
o[apiDefs::key::osVersion] = QSysInfo::productType();
|
o[apiDefs::key::osVersion] = QSysInfo::productType();
|
||||||
o[apiDefs::key::serviceType] = gatewayStringMetadataArray(serviceType);
|
o[apiDefs::key::serviceType] = serviceType.trimmed();
|
||||||
o[apiDefs::key::userCountryCode] = gatewayStringMetadataArray(userCountryCode);
|
o[apiDefs::key::userCountryCode] = userCountryCode.trimmed();
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user