mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 03:45:35 +08:00
Ref T456, remove "{}" from UUID
This commit is contained in:
@@ -153,7 +153,11 @@ namespace BlackCore
|
||||
CUrl pingUrl = this->getDbClientPingServiceUrl();
|
||||
if (pingUrl.isEmpty()) { CUrl(); }
|
||||
|
||||
pingUrl.appendQuery("uuid", this->identifier().toUuidString());
|
||||
QString uuid = this->identifier().toUuidString();
|
||||
uuid.remove('{');
|
||||
uuid.remove('}');
|
||||
|
||||
pingUrl.appendQuery("uuid", uuid);
|
||||
pingUrl.appendQuery("application", sApp->getApplicationNameAndVersion());
|
||||
if (type.testFlag(PingLogoff)) { pingUrl.appendQuery("logoff", "true"); }
|
||||
if (type.testFlag(PingShutdown)) { pingUrl.appendQuery("shutdown", "true"); }
|
||||
|
||||
Reference in New Issue
Block a user