Merge pull request #811 from amnezia-vpn/feature/api-payload-info

change pretty product name to product type for api payload
This commit is contained in:
pokamest 2024-05-17 04:57:00 -07:00 committed by GitHub
commit 53fdf5f70d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ QJsonObject ApiController::fillApiPayload(const QString &protocol, const ApiCont
obj[configKey::publicKey] = apiPayloadData.wireGuardClientPubKey;
}
obj[configKey::osVersion] = QSysInfo::prettyProductName();
obj[configKey::osVersion] = QSysInfo::productType();
obj[configKey::appVersion] = QString(APP_VERSION);
return obj;