fix(VehicleService): Fixed crash related to create_profile
This commit is contained in:
parent
9e5a58fe74
commit
b1c9dd5025
@ -212,7 +212,7 @@ namespace big
|
||||
m_publish_status = PublishStatus::SAVED;
|
||||
else if (api::vehicle::handling::create_profile(hash, name, description, data, json))
|
||||
{
|
||||
this->set_active_profile(hash, json["share_code"]);
|
||||
this->set_active_profile(hash, json["data"]["share_code"]);
|
||||
|
||||
m_publish_status = PublishStatus::SAVED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user