From 9c1196a2a6a0f9867e7b1a8566c03a8f194520f6 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 16 Jan 2015 12:08:56 -0800 Subject: [PATCH] put user location without curly braces --- interface/src/Application.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index ff6c87123f..3ef17e9067 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -3187,11 +3187,13 @@ void Application::updateLocationInServer() { if (!addressManager->getRootPlaceID().isNull()) { const QString PLACE_ID_KEY_IN_LOCATION = "place_id"; - locationObject.insert(PLACE_ID_KEY_IN_LOCATION, addressManager->getRootPlaceID().toString()); + locationObject.insert(PLACE_ID_KEY_IN_LOCATION, + uuidStringWithoutCurlyBraces(addressManager->getRootPlaceID())); } else { const QString DOMAIN_ID_KEY_IN_LOCATION = "domain_id"; - locationObject.insert(DOMAIN_ID_KEY_IN_LOCATION, domainHandler.getUUID().toString()); + locationObject.insert(DOMAIN_ID_KEY_IN_LOCATION, + uuidStringWithoutCurlyBraces(domainHandler.getUUID())); } rootObject.insert(LOCATION_KEY_IN_ROOT, locationObject);