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