mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 22:14:00 -06:00
Merge branch 'bs_1.5.0.61' into SoftFever
This commit is contained in:
commit
25f2dd6ebb
2 changed files with 3 additions and 3 deletions
|
@ -48,8 +48,8 @@ std::string http_headers::get_response()
|
|||
std::string user_avatar;
|
||||
try {
|
||||
json user_j = json::parse(http_body);
|
||||
if (user_j.contains("uid"))
|
||||
user_id = std::to_string(user_j["uid"].get<int>());
|
||||
if (user_j.contains("uidStr"))
|
||||
user_id = user_j["uidStr"].get<std::string>();
|
||||
if (user_j.contains("name"))
|
||||
user_name = user_j["name"].get<std::string>();
|
||||
if (user_j.contains("avatar"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue