mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 22:47:32 -06:00
FIX: [4670] Cloud disabled rating interface, displaying error prompt
Jira: STUDIO-4670 Change-Id: Ie571fd042010d5972aaef76063a52b67ef7ccb6a
This commit is contained in:
parent
1c705d85e9
commit
01968ce29f
3 changed files with 11 additions and 2 deletions
|
@ -4585,6 +4585,7 @@ void MachineObject::update_model_task()
|
|||
request_model_result++;
|
||||
BOOST_LOG_TRIVIAL(info) << "request times: " << request_model_result << " http code: " << http_code;
|
||||
rating_info = new RatingInfo();
|
||||
rating_info->http_code = http_code;
|
||||
if (0 == res && 200 == http_code) {
|
||||
try {
|
||||
json rating_json = json::parse(rating_result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue