fix home location problem

This commit is contained in:
dante ruiz 2019-10-09 16:39:31 -07:00
parent 80f0293881
commit ac4346125d

View file

@ -57,7 +57,7 @@ void UserSettingsRequest::receivedResponse() {
}
if (root["data"].toObject().contains("home_location")) {
auto homeLocation = root["data"].toObject()["home_location"];
QJsonValue homeLocation = root["data"].toObject()["home_location"];
if (homeLocation.isString()) {
_userSettings.homeLocation = homeLocation.toString();
}